X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_user.php;h=0722b871e4affee3a8b048e2f5332912eeb5cd99;hp=53bfce2af9f2f6f2795b85565f41f82a872125cb;hb=9afd6ec5878544a7982c50ed9c0dd7de37606d5b;hpb=a49d1f4613f3f7d47fb57d946e9f7f705bd34a9b diff --git a/inc/modules/admin/what-list_user.php b/inc/modules/admin/what-list_user.php index 53bfce2af9..0722b871e4 100644 --- a/inc/modules/admin/what-list_user.php +++ b/inc/modules/admin/what-list_user.php @@ -172,7 +172,7 @@ LIMIT 1", } // END - if // Clickrate - $content['click_rate'] = 0; + $content['click_rate'] = '0'; if ($content['emails_received'] > 0) { $content['click_rate'] = translateComma($content['mails_confirmed'] / $content['emails_received'] * 100); } // END - if @@ -185,7 +185,7 @@ LIMIT 1", if (isExtensionActive('country')) { // Then overwrite country information $content['country'] = generateCountryInfo($content['country_code']); - } elseif ($content['country'] == 0) { + } elseif ($content['country'] == '0') { // Zero id??? $content['country'] = '???'; } @@ -247,7 +247,7 @@ LIMIT 1", $result_master = SQL_QUERY($sql, __FILE__, __LINE__); // Calculate page count (0.5 fixes a bug with page count) - if (getConfig('user_limit') == 0) { + if (getConfig('user_limit') == '0') { setConfigEntry('user_limit', 100); loadTemplate('admin_settings_saved', false, getMessage('EXTENSION_WARNING_USER_LIMIT')); } // END - if @@ -312,7 +312,7 @@ LIMIT 1", $pointsTotal = countSumTotalData($content['userid'], 'user_points', 'points') - countSumTotalData($content['userid'], 'user_data', 'used_points'); // Clickrate - $clickRate = 0; + $clickRate = '0'; if ($content['emails_received'] > 0) { $clickRate = $content['mails_confirmed'] / $content['emails_received'] * 100; } // END - if