diff options
Diffstat (limited to 'src/usr/local/www/index.php')
-rw-r--r-- | src/usr/local/www/index.php | 3 |
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']) { |