]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_sponsor.php
Fixes for switch task->sel
[mailer.git] / inc / modules / admin / what-list_sponsor.php
index d3026f944d7abe0763cce33a4814cb7657290dc1..9e4b676bb95c2a30a52768f20e513776ce3cda5e 100644 (file)
@@ -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']);