]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/sponsor.php
Installer content encapsulated in inc/install-functions.php
[mailer.git] / inc / modules / sponsor.php
index 8fe2cba80d417383cbe912ea993671912099b8da..9a84af61a524652883f3f2025c28cfc423922331 100644 (file)
@@ -44,9 +44,9 @@ if (!defined('__SECURITY')) {
        return;
 } elseif (!isSponsor()) {
        // No sponsor!
-       addFatalMessage(__FILE__, __LINE__, getMessage('SPONSOR_ONLY_AREA_ENTERED'));
+       addFatalMessage(__FILE__, __LINE__, '{--SPONSOR_ONLY_AREA_ENTERED--}');
        return;
-} elseif (!isWhatSet()) {
+} elseif ((!isWhatSet()) || (getWhat() == '')) {
        // Empty what value detected!
        setWhat('welcome');
 }