update label index condition

This commit is contained in:
yggverse 2024-07-31 21:07:17 +03:00
parent be8dee22f5
commit 0b32d97622

View file

@ -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;
}