]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_sponsor.php
Fixes for 'empty version'
[mailer.git] / inc / modules / admin / what-list_sponsor.php
index d3026f944d7abe0763cce33a4814cb7657290dc1..c9ac613c12222ac2f39cebac0b669fadb39e50a2 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * M-XChange v0.2.1                                   Start: 04/25/2005 *
- * ================                             Last change: 05/19/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 04/25/2005 *
+ * ===================                          Last change: 05/19/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : 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']);