mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17490] Use isset instead of !empty()
PHPBB-17490
This commit is contained in:
parent
e4c8984bf3
commit
5bc4c5765e
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ abstract class base implements messenger_interface
|
|||
*/
|
||||
public function save_queue(): void
|
||||
{
|
||||
if ($this->use_queue && !empty($this->queue))
|
||||
if ($this->use_queue && isset($this->queue))
|
||||
{
|
||||
$this->queue->save();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue