]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/beg_mails.php
Fix for surfbar if no account has depleted points
[mailer.git] / inc / mails / beg_mails.php
index 545b552a69545838e1412004186e71594b191ed3..37272d712ec54187bb41c2cb1918b127e3b4f3fd 100644 (file)
@@ -108,8 +108,7 @@ if (!empty($SQL))
                $MAIL_MODE = (($_CONFIG['beg_notify_bonus'] > 0) && ($MODE == "en") && (EXT_IS_ACTIVE("bonus")));
 
                // Generate subject line
-               $eval = "\$SUBJECT = BEG_RALLYE_".strtoupper($MODE)."_NOTIFY;";
-               eval($eval);
+               $SUBJECT = constant('BEG_RALLYE_'.strtoupper($MODE).'_NOTIFY');
 
                // Load message body for bonus mails
                $MSG = LOAD_EMAIL_TEMPLATE("beg_en_notify_body", "", "{PER}uid{PER}");