Huge rewrite of default parameters, ext-network continued:
[mailer.git] / inc / modules / admin / what-del_holiday.php
index d46a98c78744b257026d50c2617e789d2e92d2d8..a61324a4f528d0dfc6f6262dfe7dd81e7fb78a74 100644 (file)
@@ -45,13 +45,13 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addMenuDescription('admin', __FILE__);
 
 // Check for selected holidays
-$SUM = 0;
+$SUM = '0';
 if (isPostRequestElementSet('sel')) $SUM = countPostSelection();
 
 // Shall I delete selected holidays???
 if ($SUM > 0) {
        // Delete multiple holiday requests (for list_holiday)
-       $cnt = 0;
+       $cnt = '0';
        foreach (postRequestElement('sel') as $id => $sel) {
                // Get the userid
                $result = SQL_QUERY_ESC("SELECT