diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-12-18 22:57:14 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-12-18 22:57:36 -0500 |
commit | 72eaefaf1fc991d5949daadbac5ae50ed1d3ad5f (patch) | |
tree | 2f629dbe57faf7b3e7d5af3d7bf74e611e796330 /src/usr/local/www | |
parent | 73e3aa2148b9fe3f8a264732f627273699797d7e (diff) | |
download | pfsense-72eaefaf1fc991d5949daadbac5ae50ed1d3ad5f.zip pfsense-72eaefaf1fc991d5949daadbac5ae50ed1d3ad5f.tar.gz |
Fixed #5659
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/index.php | 10 |
1 files changed, 10 insertions, 0 deletions
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); |