summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-10 10:55:06 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-10 10:55:06 -0500
commitad3bbc1525d256da3fa553a1bba6ddbad55eee75 (patch)
tree88ee0c38583fcfc76ee03f66cc555b390f87528d /src/usr/local/www
parent9516a5ad8925567bafa719bee968d5867f2c791b (diff)
parentd440718888a4d45088f55f2c7a23083e12fe277b (diff)
downloadpfsense-ad3bbc1525d256da3fa553a1bba6ddbad55eee75.zip
pfsense-ad3bbc1525d256da3fa553a1bba6ddbad55eee75.tar.gz
Merge pull request #2396 from NOYB/GUI_Log_Entires_Placeholder
Diffstat (limited to 'src/usr/local/www')
-rw-r--r--src/usr/local/www/status_logs_common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/status_logs_common.inc b/src/usr/local/www/status_logs_common.inc
index be12aba..56bbdd7 100644
--- a/src/usr/local/www/status_logs_common.inc
+++ b/src/usr/local/www/status_logs_common.inc
@@ -753,7 +753,7 @@ function manage_log_section() {
'GUI Log Entries',
'number',
$pconfig['nentries'],
- ['min' => 5, 'max' => 2000, 'placeholder' => $config['syslog']['nentries']]
+ ['min' => 5, 'max' => 2000, 'placeholder' => $config['syslog']['nentries'] ? $config['syslog']['nentries'] : "50"]
))->setWidth(2);
$group->setHelp('This is the number of log entries displayed in the GUI. It does not affect how many entries are contained in the log.');
OpenPOWER on IntegriCloud