X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-online.php;h=f7d481760b20fb1f0cb8c7984c82aae59a9f745d;hb=e8b99d201eaf3ef83bb83e6b42f146752a06721a;hp=0dea4fa9566ba99c02e7be1dec66237e52cd1e4c;hpb=8454545089b9b77695498cd855cf50075151d957;p=mailer.git diff --git a/inc/modules/guest/action-online.php b/inc/modules/guest/action-online.php index 0dea4fa956..f7d481760b 100644 --- a/inc/modules/guest/action-online.php +++ b/inc/modules/guest/action-online.php @@ -38,6 +38,9 @@ if (!defined('__SECURITY')) { } elseif ((!EXT_IS_ACTIVE("online")) && (!IS_ADMIN())) { // Just skip this extension return; +} elseif (defined('GUESTS_ONLINE_CNT')) { + // Skip it if already executed + return; } $result_guests = SQL_QUERY("SELECT id FROM "._MYSQL_PREFIX."_online WHERE is_admin='N' AND is_member='N'", __FILE__, __LINE__);