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