Index: branches/unlabeled/unlabeled-1.26.8/core/kernel/parser/template_parser.php
===================================================================
diff -u -r6826 -r7072
--- branches/unlabeled/unlabeled-1.26.8/core/kernel/parser/template_parser.php (.../template_parser.php) (revision 6826)
+++ branches/unlabeled/unlabeled-1.26.8/core/kernel/parser/template_parser.php (.../template_parser.php) (revision 7072)
@@ -639,7 +639,9 @@
else
$BlockParser->SetParams($params);
$this->Application->Parser =& $BlockParser;
- if (!isset($params['name'])) trigger_error('***Error: Block name not passed to ParseBlock', E_USER_ERROR);
+ if (!isset($params['name'])) {
+ trigger_error('***Error: Block name not passed to ParseBlock', E_USER_ERROR);
+ }
$templates_cache =& $this->Application->recallObject('TemplatesCache');
$template_name = $as_template ? $params['name'] : $templates_cache->GetTemplateFileName($params['name']) . '-block:'.$params['name'];