X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fsponsor.php;h=9a84af61a524652883f3f2025c28cfc423922331;hb=08e3930ebc11e2b7491837cf4c9961ad5bba7cfc;hp=3e39328c95d9f30b6ddf08ee8c48ea8d2a09cc16;hpb=a431208d7d72b931843d545e8e37c1750b101406;p=mailer.git diff --git a/inc/modules/sponsor.php b/inc/modules/sponsor.php index 3e39328c95..9a84af61a5 100644 --- a/inc/modules/sponsor.php +++ b/inc/modules/sponsor.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software. You can redistribute it and/or modify * @@ -43,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'); }