Some functions rewritten to hungarian notation, handling of array rewritten
[mailer.git] / inc / modules / guest / what-sponsor_reg.php
index 7060952e9d3e3b83ec031c873712d41ee5ad4fac..cb67895a30157393c094c35beb8c9adbac6eef4b 100644 (file)
@@ -36,9 +36,9 @@ if (!defined('__SECURITY')) {
        require($INC);
 } elseif ((!EXT_IS_ACTIVE("sponsor"))) {
        if (IS_ADMIN()) {
-               ADD_FATAL(sprintf(EXTENSION_PROBLEM_NOT_INSTALLED, "sponsor"));
+               addFatalMessage(sprintf(EXTENSION_PROBLEM_NOT_INSTALLED, "sponsor"));
        } else {
-               ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "sponsor");
+               addFatalMessage(EXTENSION_PROBLEM_EXT_INACTIVE, "sponsor");
        }
        return;
 }