From: Marcel Werk Date: Wed, 11 May 2022 11:09:44 +0000 (+0200) Subject: Applied code suggestions X-Git-Tag: 5.5.0_Beta_3~46^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=782c3e2a0ac3745668a00a8d25dc83aa6126714e;p=GitHub%2FWoltLab%2FWCF.git Applied code suggestions --- 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;