]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-active.php
Some functions rewritten to hungarian notation, handling of array rewritten
[mailer.git] / inc / modules / guest / what-active.php
index e0d1a6e95ec1f76dc781caaf4edf95b769410370..724810e1dbbb981ea2f3e436f89566e8e0e586e5 100644 (file)
@@ -36,7 +36,7 @@ if (!defined('__SECURITY')) {
        $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
        require($INC);
 } elseif ((!EXT_IS_ACTIVE("active")) && (!IS_ADMIN())) {
-       ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "active");
+       addFatalMessage(EXTENSION_PROBLEM_EXT_INACTIVE, "active");
        return;
 }
 
@@ -44,7 +44,7 @@ if (!defined('__SECURITY')) {
 ADD_DESCR("guest", __FILE__);
 
 // Extra field to include is by default uid
-$ADD = "uid";
+$ADD = "userid";
 
 // If nickname is installed the extra field is the nickname of the user
 if (EXT_IS_ACTIVE("nickname")) $ADD = "nickname";