diff options
author | Steve Beaver <sbeaver@netgate.com> | 2017-02-12 09:25:12 -0500 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2017-02-12 09:25:12 -0500 |
commit | e8813e5183d9bfc6fea29c0f67d6d9131a466c7a (patch) | |
tree | 6ded9d7e2c3af2601774d4e8f32042974ae7ea03 /src/etc/inc | |
parent | ea9d2cd377f22a90795e6874c4d033d0ae98eca6 (diff) | |
download | pfsense-e8813e5183d9bfc6fea29c0f67d6d9131a466c7a.zip pfsense-e8813e5183d9bfc6fea29c0f67d6d9131a466c7a.tar.gz |
Allow up to siz dashboard columns
Diffstat (limited to 'src/etc/inc')
-rw-r--r-- | src/etc/inc/pfsense-utils.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/pfsense-utils.inc b/src/etc/inc/pfsense-utils.inc index 0bff33f..e5dfc05 100644 --- a/src/etc/inc/pfsense-utils.inc +++ b/src/etc/inc/pfsense-utils.inc @@ -242,7 +242,7 @@ function gen_webguihostnamemenu_field(&$section, $value) { ******/ function gen_dashboardcolumns_field(&$section, $value) { - if (($value < 1) || ($value > 4)) { + if (($value < 1) || ($value > 6)) { $value = 2; } @@ -251,7 +251,7 @@ function gen_dashboardcolumns_field(&$section, $value) { 'Dashboard Columns', 'number', $value, - [min => 1, max => 4] + [min => 1, max => 6] )); } |