]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/holiday_functions.php
Extension ext-network continued, saving NULL entries fixed:
[mailer.git] / inc / libs / holiday_functions.php
index 0d4d06d50de9b342cc5c8e6bb5743d527e546cd3..014d4f70bb6ec61102a170a773597a3ca7d85dfc 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 *
@@ -60,7 +61,7 @@ ORDER BY
 
                // Process all found entries
                while ($content = SQL_FETCHARRAY($result_stop)) {
-                       // Stop2 holiday
+                       // Stop holiday
                        addSql(SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_user_holidays` WHERE `userid`=%s LIMIT 1",
                                array(bigintval($content['userid'])), __FUNCTION__, __LINE__, false));
 
@@ -90,7 +91,7 @@ LIMIT 1",
                } // END - if
 
                // Send mail to admins
-               sendAdminNotification(getMessage('HOLIDAY_ADMIN_UNLOCK_SUBJ'), 'admin_holiday_unlock', $admin, 0);
+               sendAdminNotification(getMessage('HOLIDAY_ADMIN_UNLOCK_SUBJ'), 'admin_holiday_unlock', $admin);
 
                // Run all SQLs
                runFilterChain('run_sqls');