aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/common.inc.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 5986fe087..6776b5fb1 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -257,12 +257,8 @@ if (is_adviser())
if (count($header_msgs) > 0)
{
- $template->assign_block_vars('header_msgs',array());
- foreach ($header_msgs as $header_msg)
- {
- $template->assign_block_vars('header_msgs.header_msg',
- array('HEADER_MSG'=>$header_msg));
- }
+ $template->assign('header_msgs', $header_msgs);
+ $header_msgs=array();
}
if (!empty($conf['filter_pages']) and get_filter_page_value('used'))