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, 3 insertions, 1 deletions
diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php
index 061d57e..63682db 100644
--- a/src/usr/local/www/index.php
+++ b/src/usr/local/www/index.php
@@ -154,7 +154,9 @@ if (!is_array($config['widgets'])) {
if ($_POST && $_POST['sequence']) {
- $widget_settings = array();
+ // Read in the existing widget settings
+ $widget_settings = $config['widgets'];
+
$widget_settings['sequence'] = rtrim($_POST['sequence'], ',');
foreach ($widgets as $widgetname => $widgetconfig) {
OpenPOWER on IntegriCloud