Browse Source

update label index condition

PHP-GTK3
yggverse 4 months ago
parent
commit
0b32d97622
  1. 2
      src/Entity/Browser/Menu/Help/About.php

2
src/Entity/Browser/Menu/Help/About.php

@ -173,7 +173,7 @@ class About
// Tune up the label // Tune up the label
if ($label = $dialog->get_message_area()->get_children()) if ($label = $dialog->get_message_area()->get_children())
{ {
if (!isset($label[1])) if (empty($label[1]))
{ {
throw new Exception; throw new Exception;
} }

Loading…
Cancel
Save