summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-08-12 13:40:16 -0300
committerRenato Botelho <renato@netgate.com>2016-08-12 13:40:16 -0300
commit42481352f63a98eec4eabe3395346a9d1018452c (patch)
tree030b25e9f035da458509ab8a925263957809882d /src/usr/local
parent1707b6c667dadec16415d0eb785c41f36c9b2584 (diff)
parent5aad73235c1965e9f4c000244ca657ac9d1e4f68 (diff)
downloadpfsense-42481352f63a98eec4eabe3395346a9d1018452c.zip
pfsense-42481352f63a98eec4eabe3395346a9d1018452c.tar.gz
Merge pull request #3097 from NewEraCracker/patch-1
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php
index 90e1187..8ff71eb 100644
--- a/src/usr/local/www/index.php
+++ b/src/usr/local/www/index.php
@@ -119,6 +119,9 @@ foreach (glob("/usr/local/www/widgets/widgets/*.widget.php") as $file) {
if (!is_array($config['widgets'])) {
$config['widgets'] = array();
}
+if (!is_array($user_settings['widgets'])) {
+ $user_settings['widgets'] = array();
+}
if ($_POST && $_POST['sequence']) {
OpenPOWER on IntegriCloud