From 72eaefaf1fc991d5949daadbac5ae50ed1d3ad5f Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Fri, 18 Dec 2015 22:57:14 -0500 Subject: Fixed #5659 --- src/usr/local/www/index.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/usr/local/www/index.php') diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php index 2813535..613ba78 100644 --- a/src/usr/local/www/index.php +++ b/src/usr/local/www/index.php @@ -258,6 +258,16 @@ if ($config['widgets'] && $config['widgets']['sequence'] != "") { list($file, $col, $display) = explode(':', $line); // be backwards compatible + // If the display column information is missing, we will assign a temporary + // column here. Next time the user saves the dashboard it will fix itself + if ($col == "") { + if ($file == "system_information") { + $col = "col1"; + } else { + $col = "col2"; + } + } + $offset = strpos($file, '-container'); if (false !== $offset) { $file = substr($file, 0, $offset); -- cgit v1.1