X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_sponsor.php;h=9e4b676bb95c2a30a52768f20e513776ce3cda5e;hb=5b794a32b30ec5322765c89a22c4c27aece94a42;hp=d3026f944d7abe0763cce33a4814cb7657290dc1;hpb=c2e17d983fcbc0c3bd1dd37908d87c678f0367df;p=mailer.git diff --git a/inc/modules/admin/what-list_sponsor.php b/inc/modules/admin/what-list_sponsor.php index d3026f944d..9e4b676bb9 100644 --- a/inc/modules/admin/what-list_sponsor.php +++ b/inc/modules/admin/what-list_sponsor.php @@ -66,10 +66,10 @@ WHERE `id`='%s' LIMIT 1", array(bigintval(getRequestElement('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 + // Sponsor's id $content['id'] = getRequestElement('id'); // Personal data $content['gender'] = translateGender($content['gender']);