]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_birthday.php
Several fixes/cleanups
[mailer.git] / inc / reset / reset_birthday.php
index 9836603297d60c0ad571a153c4b1f9ed5798319c..e793ee1ab5b2625779e9349cf390a92dfbdabb57 100644 (file)
@@ -18,6 +18,7 @@
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -86,7 +87,6 @@ if (SQL_NUMROWS($result_birthday) > 0) {
                if (getConfig('birthday_points') > 0) {
                        // Add more entries to the array
                        $content['age']    = $age;
-                       $content['points'] = translateComma(getConfig('birthday_points'));
                        $content['check']  = '';
 
                        // @TODO 4 is hard-coded here, should we move it out in config?
@@ -117,7 +117,7 @@ if (SQL_NUMROWS($result_birthday) > 0) {
        } // END - while
 
        // Free memory
-       SQL_FREERESULT($result);
+       SQL_FREERESULT($result_birthday);
 }
 
 // [EOF]