Skip to content

Commit 5bc4c57

Browse files
committed
[ticket/17490] Use isset instead of !empty()
PHPBB-17490
1 parent e4c8984 commit 5bc4c57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpBB/phpbb/messenger/method/base.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ public function error(string $msg): void
423423
*/
424424
public function save_queue(): void
425425
{
426-
if ($this->use_queue && !empty($this->queue))
426+
if ($this->use_queue && isset($this->queue))
427427
{
428428
$this->queue->save();
429429
}

0 commit comments

Comments
 (0)