// Add description as navigation point
addMenuDescription('admin', __FILE__);
-// Check for selected holidays
-$SUM = 0;
-if (isPostRequestElementSet('sel')) $SUM = countPostSelection();
-
// Shall I delete selected holidays???
-if ($SUM > 0) {
+if (countPostSelection() > 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