From 30c7a61a9b410f023c56ef19b9389a61647d8768 Mon Sep 17 00:00:00 2001 From: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> Date: Thu, 16 Nov 2023 22:43:00 +0100 Subject: Use strict_types (#5830) * Little's optimisations and booleans in conditions * Apply strict type * Apply strict type * Apply strict type * Fix multiple bugs with PHP 8.2 and 8.3 * Many declares missing, more errors fixed * Apply strict type * Another approach * Stronger typing for Minz_Session * Fix case of SQLite --------- Co-authored-by: Luc Co-authored-by: Alexandre Alapetite --- app/views/user/details.phtml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'app/views/user/details.phtml') diff --git a/app/views/user/details.phtml b/app/views/user/details.phtml index a2a560a65..1ea8f62d8 100644 --- a/app/views/user/details.phtml +++ b/app/views/user/details.phtml @@ -1,14 +1,13 @@ partial('aside_configure'); } + $isDefault = $this->details['is_default']; + $isAdmin = $this->details['is_admin']; + $enabled = $this->details['enabled']; ?> - -details['is_default']; ?> -details['is_admin']; ?> -details['enabled']; ?> -

username ?>

-- cgit v1.2.3