More rewrites/fixes (not all is fixed) for ext-sponsor
[mailer.git] / inc / modules / sponsor.php
index 647357624702117329b40f447f075cdc474547ff..9a84af61a524652883f3f2025c28cfc423922331 100644 (file)
@@ -46,7 +46,7 @@ if (!defined('__SECURITY')) {
        // No sponsor!
        addFatalMessage(__FILE__, __LINE__, '{--SPONSOR_ONLY_AREA_ENTERED--}');
        return;
-} elseif (!isWhatSet()) {
+} elseif ((!isWhatSet()) || (getWhat() == '')) {
        // Empty what value detected!
        setWhat('welcome');
 }