From c02bac26abd70f80ba27e673f2ef04331f736924 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 4 Aug 2024 03:29:19 +0300 Subject: [PATCH] make boolean data type conversion --- src/Entity/Browser/Container/Page/Auth.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Entity/Browser/Container/Page/Auth.php b/src/Entity/Browser/Container/Page/Auth.php index 94fb4e99..56dd1c3c 100644 --- a/src/Entity/Browser/Container/Page/Auth.php +++ b/src/Entity/Browser/Container/Page/Auth.php @@ -357,9 +357,11 @@ class Auth // Update sensibility $option->gtk->set_sensitive( - count( - $this->_options - ) > 2 + boolval( + count( + $this->_options + ) > 2 + ) ); break;