aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index 64cf55f7a..719e1ef8c 100644
--- a/index.php
+++ b/index.php
@@ -378,6 +378,8 @@ head_add_js('mod_' . $a->module . '.js');
$arr = $a->get_widgets();
if(count($arr)) {
foreach($arr as $x) {
+ if(! array_key_exists($x['location'],$a->page))
+ $a->page[$x['location']] = '';
$a->page[$x['location']] .= $x['html'];
}
}