From 9958c596f5f36d025819de5994a7222c4abbf6df Mon Sep 17 00:00:00 2001 From: zuuperman Date: Thu, 19 Sep 2013 16:19:53 +0200 Subject: [PATCH] Remove dsm --- culturefeed_agenda/theme/theme.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/culturefeed_agenda/theme/theme.inc b/culturefeed_agenda/theme/theme.inc index 6f34fe61..ad2ed900 100644 --- a/culturefeed_agenda/theme/theme.inc +++ b/culturefeed_agenda/theme/theme.inc @@ -522,7 +522,7 @@ function culturefeed_agenda_preprocess_culturefeed_agenda_production_program(&$v $regions = $item->getEntity()->getCategories()->getCategoriesByType(CultureFeed_Cdb_Data_Category::CATEGORY_TYPE_FLANDERS_REGION); if ($regions) { foreach ($regions as $region) { - dsm($region->getId(), $region->getName()); + if (isset($provinces[$region->getId()])) { // Make sure tab exists.