From c70777e19c6b48fe128e7ee9cbcaefb1de84c793 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 8 Dec 2012 14:18:02 -0800 Subject: a bit of e_all cleanup --- index.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'index.php') 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']; } } -- cgit v1.2.3