summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2016-01-10 02:01:56 -0800
committerNOYB <Al_Stu@Frontier.com>2016-01-10 02:01:56 -0800
commitd440718888a4d45088f55f2c7a23083e12fe277b (patch)
treece7a280827bf6eae7ceb54a38985fd5a539bceed /src/usr
parent50178455e74b379b4060ab7f9191b61666033bb0 (diff)
downloadpfsense-d440718888a4d45088f55f2c7a23083e12fe277b.zip
pfsense-d440718888a4d45088f55f2c7a23083e12fe277b.tar.gz
GUI Log Entires Placeholder
Add placeholder for factory default condition (not set).
Diffstat (limited to 'src/usr')
-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