Index: trunk/core/kernel/db/db_tag_processor.php =================================================================== diff -u -r2505 -r2581 --- trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 2505) +++ trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 2581) @@ -71,6 +71,11 @@ $block_params['name'] = $params['spearator_block']; $separator = $this->Application->ParseBlock($block_params); $filter_menu = $this->Application->getUnitOption($this->Prefix,'FilterMenu'); + if(!$filter_menu) + { + trigger_error('no filters defined for prefix '.$this->Prefix.', but DrawFilterMenu tag used', E_USER_WARNING); + return ''; + } // Params: label, filter_action, filter_status $block_params['name'] = $params['item_block']; @@ -86,6 +91,7 @@ $filters = Array(); $prefix_special = $this->getPrefixSpecial(); + foreach($filter_menu['Filters'] as $filter_key => $filter_params) { if(!$filter_params)