]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/action-online.php
Mediadata extension now creates the guest menu link, extension 'active' fixed
[mailer.git] / inc / modules / guest / action-online.php
index 0dea4fa9566ba99c02e7be1dec66237e52cd1e4c..f7d481760b20fb1f0cb8c7984c82aae59a9f745d 100644 (file)
@@ -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__);