X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_sponsor.php;h=498444a912e223565386c1440283c5d9e3ae65dc;hp=a753c8d8315afd4e7437c4b7670100e70064f0eb;hb=0369c36aaab5af6ed44da1e13a53baef285f79b4;hpb=d18075f375db1b9db40773cdf80a5d6f2c36cd3a diff --git a/inc/modules/admin/what-list_sponsor.php b/inc/modules/admin/what-list_sponsor.php index a753c8d831..498444a912 100644 --- a/inc/modules/admin/what-list_sponsor.php +++ b/inc/modules/admin/what-list_sponsor.php @@ -52,7 +52,7 @@ WHERE id='%s' LIMIT 1", SQL_FREERESULT($result); // Check if an entry is empty - foreach ($DATA as $k=>$v) { + foreach ($DATA as $k => $v) { if (empty($v)) $DATA[$k] = "---"; } @@ -61,7 +61,7 @@ WHERE id='%s' LIMIT 1", array(bigintval($_GET['id'])), __FILE__, __LINE__); list($orders) = SQL_FETCHROW($result_orders); SQL_FREERESULT($result_orders); - if (empty($orders)) $orders = "0"; + if (empty($orders)) $orders = 0; // Prepare all data for the template // Sponsor's ID