Corrected undefined variable error in calendar.php

This commit is contained in:
Alex Tselegidis 2015-11-28 11:52:42 +01:00
parent 8fddb814a7
commit ba5ef4d326

View file

@ -122,6 +122,7 @@
<?php <?php
// Group services by category, only if there is at least one service // Group services by category, only if there is at least one service
// with a parent category. // with a parent category.
$has_category = FALSE;
foreach($available_services as $service) { foreach($available_services as $service) {
if ($service['category_id'] != NULL) { if ($service['category_id'] != NULL) {
$has_category = TRUE; $has_category = TRUE;