X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-stats.php;h=5e5512d1583a9cc777cd5eaf52b8143230514eff;hb=de3147a2ad17532517bb3e67d8dee67d68cdcec6;hp=44770bda678ef9db05ed253d987bb2b2ce92ec89;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e;p=mailer.git diff --git a/inc/modules/guest/what-stats.php b/inc/modules/guest/what-stats.php index 44770bda67..5e5512d158 100644 --- a/inc/modules/guest/what-stats.php +++ b/inc/modules/guest/what-stats.php @@ -1,7 +1,7 @@ %s detected.", secureString(getRequestElement('mode')))); + debug_report_bug(sprintf("Unsupported mode %s detected.", secureString(getRequestParameter('mode')))); break; } @@ -100,7 +100,7 @@ switch (getConfig('guest_stats')) { $month = $idx; // Append leading zero - if ($idx < 10) $month = '0'.$idx; + if ($idx < 10) $month = '0' . $idx; // Count months $months[$month] = countSumTotalData(bigintval($month), 'user_data', 'userid', 'birth_month', true, " AND `status`='CONFIRMED'"); @@ -137,7 +137,7 @@ switch (getConfig('guest_stats')) { $content['ltitle'] = $ltitle; // Generate monthly stats - $SW = 2; $r2 = ' right2'; $l = 'll'; $r = 'lr'; $OUT = ''; + $SW = 2; $r2 = ' right'; $l = 'll'; $r = 'lr'; $OUT = ''; foreach ($months as $month => $cnt) { if ($SW == 2) $OUT .= "\n"; @@ -158,7 +158,7 @@ switch (getConfig('guest_stats')) { $l = 'rl'; $r = 'rr'; } else { $OUT .= "\n"; - $r2 = ' right2'; + $r2 = ' right'; $l = 'll'; $r = 'lr'; } $SW = 3 - $SW;