summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/index.php')
-rw-r--r--src/usr/local/www/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php
index 808b1df..90e1187 100644
--- a/src/usr/local/www/index.php
+++ b/src/usr/local/www/index.php
@@ -122,8 +122,8 @@ if (!is_array($config['widgets'])) {
if ($_POST && $_POST['sequence']) {
- // Read in the existing widget settings
- $widget_settings = $config['widgets'];
+ // Start with the user's widget settings.
+ $widget_settings = $user_settings['widgets'];
$widget_settings['sequence'] = rtrim($_POST['sequence'], ',');
OpenPOWER on IntegriCloud