X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Frallye_functions.php;h=e67677e419cd6082706fbbc28e779f21cbe559a2;hb=61bddb167e29e7275f5a1c9fa8cb80431fa5ee6f;hp=4496e31e2511ac83154428f0794c3afbaf4d785e;hpb=60494e212a67fe360bfbb481eb4928480a6f379b;p=mailer.git diff --git a/inc/libs/rallye_functions.php b/inc/libs/rallye_functions.php index 4496e31e25..e67677e419 100644 --- a/inc/libs/rallye_functions.php +++ b/inc/libs/rallye_functions.php @@ -127,7 +127,7 @@ VALUES ('%s', '%s', '%s', '%s')", $DATA['refs'] = $cnt; // Shall I notify this member? - if (($notify == 'Y') && ($un)) + if (($notify == "Y") && ($un)) { // Load email template and send it to the user $msg = LOAD_EMAIL_TEMPLATE("member_rallye_notify", $prices, $uid); @@ -137,7 +137,7 @@ VALUES ('%s', '%s', '%s', '%s')", // Send email to admin $templ = "admin_rallye_no_notify"; - if ($notify == 'Y') $templ = "admin_rallye_notify"; + if ($notify == "Y") $templ = "admin_rallye_notify"; if (GET_EXT_VERSION("admins") < "0.4.1") { // Use old method to send out @@ -316,7 +316,7 @@ VALUES ('%s', '%s', '0')", SQL_FREERESULT($result); } - if ($notify == 'Y') + if ($notify == "Y") { // Transfer all neccessary data to the global $DATA array $DATA['start'] = MAKE_DATETIME($start, "2"); @@ -417,7 +417,7 @@ LIMIT 1", array(bigintval($uid), $since), __FILE__, __LINE__); } } - if ($notify == 'Y') + if ($notify == "Y") { // Prepare infos for the mail template if (!empty($DATA['info'])) @@ -462,7 +462,7 @@ LIMIT 1", array(bigintval($uid), $since), __FILE__, __LINE__); } // Select template depending on notfication is switch on / off - if ($notify == 'Y') + if ($notify == "Y") { $templ = "admin_rallye_expired"; }