aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-08 14:18:02 -0800
committerfriendica <info@friendica.com>2012-12-08 14:18:02 -0800
commitc70777e19c6b48fe128e7ee9cbcaefb1de84c793 (patch)
tree3f3a7b4cdd841b1ed37561c34c67de3f9e4e4a48 /index.php
parentddedbda9660c35c908c0612c54536664849255cd (diff)
downloadvolse-hubzilla-c70777e19c6b48fe128e7ee9cbcaefb1de84c793.tar.gz
volse-hubzilla-c70777e19c6b48fe128e7ee9cbcaefb1de84c793.tar.bz2
volse-hubzilla-c70777e19c6b48fe128e7ee9cbcaefb1de84c793.zip
a bit of e_all cleanup
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'];
}
}