Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / admin / what-list_sponsor.php
index b03b0d4a51108ee522b5f436abc704de0386a547..9e4b676bb95c2a30a52768f20e513776ce3cda5e 100644 (file)
@@ -66,7 +66,7 @@ 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