]> git.mxchange.org Git - mailer.git/blobdiff - inc/mails/beg_mails.php
Listing of notifications added
[mailer.git] / inc / mails / beg_mails.php
index 3247190093cd75d992717ee33ec1c86050b4b916..545b552a69545838e1412004186e71594b191ed3 100644 (file)
@@ -41,7 +41,7 @@ if (!defined('__SECURITY')) {
 
 // Do not execute when script is in CSS mode
 global $CSS;
-if (($CSS == 1) || (!defined('__DAILY_RESET'))) return;
+if ($CSS == 1) return;
 
 // Create timemark from saved month
 $mark = mktime(0, 0, 0, $_CONFIG['last_month'], date("d", time()), date('Y', time()));
@@ -133,7 +133,7 @@ SET beg_ral_notify='%s', beg_ral_%s_notify='%s' WHERE userid=%s LIMIT 1",
                        {
                                // Send normal notification mail to the members
                                $MSG = LOAD_EMAIL_TEMPLATE("beg_".$MODE."_notify", array(), $uid);
-                               SEND_EMAIL($email, $SUBJECT, $MSG);
+                               SEND_EMAIL($uid, $SUBJECT, $MSG);
                        }
                }