diff options
author | BBcan177 <bbcan177@gmail.com> | 2016-08-21 21:45:31 -0400 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2016-08-23 10:40:41 -0300 |
commit | ba0c6caf2fa53ae28063726f3290c1a0431684b9 (patch) | |
tree | b17a5cfcadcf83f684775c0c84f7fe56ab36269d | |
parent | ee98cff72cc465f41d5bdb9e77261ee080ac36ab (diff) | |
download | FreeBSD-ports-ba0c6caf2fa53ae28063726f3290c1a0431684b9.zip FreeBSD-ports-ba0c6caf2fa53ae28063726f3290c1a0431684b9.tar.gz |
Update pfblockerng_update.php
* If pfBlockerNG Cron is Disabled, show next Cron event as Disabled in Update Tab
(cherry picked from commit 27eb0a3dbe5404591727673b3ef7dbddc510c92e)
-rw-r--r-- | net/pfSense-pkg-pfBlockerNG/files/usr/local/www/pfblockerng/pfblockerng_update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/pfSense-pkg-pfBlockerNG/files/usr/local/www/pfblockerng/pfblockerng_update.php b/net/pfSense-pkg-pfBlockerNG/files/usr/local/www/pfblockerng/pfblockerng_update.php index de69266..0692981 100644 --- a/net/pfSense-pkg-pfBlockerNG/files/usr/local/www/pfblockerng/pfblockerng_update.php +++ b/net/pfSense-pkg-pfBlockerNG/files/usr/local/www/pfblockerng/pfblockerng_update.php @@ -223,7 +223,7 @@ if ($pfb['enable'] == 'on') { $nextcron = "{$hour_final}:{$min_final}:{$sec_final}"; } -if (empty($pfb['enable']) || empty($cron_hour_next)) { +if (empty($pfb['enable']) || empty($cron_hour_next) || $pfb['interval'] == 'Disabled') { $cronreal = ' [ Disabled ]'; $nextcron = '--'; } |