From 0b32d9762268d70e176029bf0f75c5af3cd31772 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 31 Jul 2024 21:07:17 +0300 Subject: [PATCH] update label index condition --- src/Entity/Browser/Menu/Help/About.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Browser/Menu/Help/About.php b/src/Entity/Browser/Menu/Help/About.php index 389f31bf..52f43487 100644 --- a/src/Entity/Browser/Menu/Help/About.php +++ b/src/Entity/Browser/Menu/Help/About.php @@ -173,7 +173,7 @@ class About // Tune up the label if ($label = $dialog->get_message_area()->get_children()) { - if (!isset($label[1])) + if (empty($label[1])) { throw new Exception; }