}
// Create timemark from saved month
-$mark = mktime(0, 0, 0, getLastMonth(), getDay(), getYear());
+$mark = mktime(0, 0, 0, getLastMonthly(), getDay(), getYear());
$sql = ''; $mode = '';
// Shall I sent activation or deactivation mail?
-$sql = "SELECT `userid`,`email` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE (`beg_rallye_enable_notify` ";
+$sql = "SELECT `userid`, `email` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE (`beg_rallye_enable_notify` ";
switch (getBegRallye()) {
case 'Y': // Begging rallye is activated
if (isBegRallyeEnableNotifyEnabled()) {
), __FILE__, __LINE__);
// Load email template and send it to the user!
- if ($sentBonusMails === true) {
+ if ($sentBonusMails === TRUE) {
// Add userid to queue
array_push($userids, $content['userid']);
} else {
} // END - while
// Shall I send out bonus mails?
- if ($sentBonusMails === true) {
+ if ($sentBonusMails === TRUE) {
// Okay, make array to string
$receiver = implode(';', $userids);