From 782c3e2a0ac3745668a00a8d25dc83aa6126714e Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 11 May 2022 13:09:44 +0200 Subject: [PATCH] Applied code suggestions --- .../files/lib/system/box/UserOnlineListBoxController.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/system/box/UserOnlineListBoxController.class.php b/wcfsetup/install/files/lib/system/box/UserOnlineListBoxController.class.php index 5741ece0c2..ed6c7423da 100644 --- a/wcfsetup/install/files/lib/system/box/UserOnlineListBoxController.class.php +++ b/wcfsetup/install/files/lib/system/box/UserOnlineListBoxController.class.php @@ -127,6 +127,7 @@ class UserOnlineListBoxController extends AbstractDatabaseObjectListBoxControlle return false; } + // Call parent method, as it loads the statistics. parent::hasContent(); return $this->objectList->stats['total'] > 0; -- 2.20.1