]> git.mxchange.org Git - mailer.git/blobdiff - modules.php
Obsolete direct links to my server removed, patch support deactivated in what-updates.php
[mailer.git] / modules.php
index f4e8cbacfbbea1e21ca627b0a314841b812060c5..8368d269c1bfd7b44c8ba4f57d4c649a744287b9 100644 (file)
@@ -55,7 +55,7 @@ $GLOBALS['module'] = htmlentities(strip_tags($_GET['module']), ENT_QUOTES);
 require ("inc/config.php");
 
 // Check if logged in
-if (IS_LOGGED_IN()) {
+if (IS_MEMBER()) {
        // Is still logged in so we welcome him with his name
        $result = SQL_QUERY_ESC("SELECT surname, family FROM "._MYSQL_PREFIX."_user_data WHERE userid=%s LIMIT 1",
         array($GLOBALS['userid']), __FILE__, __LINE__);