X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_rallyes.php;h=4438870eee70aee9589aebc598b44f89b249eefd;hp=aee3d15034f01867335af24c4eba27d2df25e0bc;hb=0369c36aaab5af6ed44da1e13a53baef285f79b4;hpb=43885129ac24cee5545a8a5ad51e90aa182fdf46 diff --git a/inc/modules/admin/what-list_rallyes.php b/inc/modules/admin/what-list_rallyes.php index aee3d15034..4438870eee 100644 --- a/inc/modules/admin/what-list_rallyes.php +++ b/inc/modules/admin/what-list_rallyes.php @@ -106,7 +106,7 @@ if (isset($_GET['rallye'])) if ($SEL > 0) { // Delete selected rallyes and all it's data - foreach ($_POST['sel'] as $id=>$sel) + foreach ($_POST['sel'] as $id => $sel) { // Remove selected rallye entirely... $result = SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_rallye_data WHERE id=%s LIMIT 1", @@ -133,7 +133,7 @@ if (isset($_GET['rallye'])) if ($SEL > 0) { // Change selected rallyes and all it's data - foreach ($_POST['title'] as $id=>$title) + foreach ($_POST['title'] as $id => $title) { // Secure ID number $id = bigintval($id); @@ -169,7 +169,7 @@ if (isset($_POST['edit'])) { // Make all selected and deactivated rallyes editable $SW = 2; $OUT = ""; - foreach ($_POST['sel'] as $id=>$sel) + foreach ($_POST['sel'] as $id => $sel) { // Load rallye basic data $result = SQL_QUERY_ESC("SELECT title, descr, template, start_time, end_time, min_users, min_prices FROM "._MYSQL_PREFIX."_rallye_data WHERE id=%s LIMIT 1", @@ -341,7 +341,7 @@ ORDER BY start_time DESC", // Rallye is active so do not edit it! $content['select'] = "".$id.""; $content['active_title'] = RALLYE_DEACTIVATE_NOW; - $content['active'] = "0"; + $content['active'] = 0; break; case 'N': @@ -355,7 +355,7 @@ ORDER BY start_time DESC", { case 'Y': $content['notify_title'] = RALLYE_STOP_NOTIFY_NOW; - $content['notify'] = "0"; + $content['notify'] = 0; break; case 'N': @@ -369,7 +369,7 @@ ORDER BY start_time DESC", { case 'Y': $content['auto_title'] = RALLYE_STOP_AUTO_ADD_NOW; - $content['auto'] = "0"; + $content['auto'] = 0; break; case 'N':