diff options
author | jim-p <jimp@pfsense.org> | 2015-08-06 16:59:58 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-08-06 16:59:58 -0400 |
commit | d5f27ad3f734cd89ab448ba5cf505daf2ff293e0 (patch) | |
tree | 55164d7bd1d5f071ff6141c25e02fef5327682af /config/servicewatchdog/services_servicewatchdog_add.php | |
parent | 425658f274ba1688a2b99bc926400bebf0e06afa (diff) | |
parent | ea127e3d7700d3253eb35cf90750c2bf658ed122 (diff) | |
download | pfsense-packages-d5f27ad3f734cd89ab448ba5cf505daf2ff293e0.tar.gz pfsense-packages-d5f27ad3f734cd89ab448ba5cf505daf2ff293e0.tar.bz2 pfsense-packages-d5f27ad3f734cd89ab448ba5cf505daf2ff293e0.zip |
Merge pull request #942 from phil-davis/service-watchdog
Diffstat (limited to 'config/servicewatchdog/services_servicewatchdog_add.php')
-rw-r--r-- | config/servicewatchdog/services_servicewatchdog_add.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/servicewatchdog/services_servicewatchdog_add.php b/config/servicewatchdog/services_servicewatchdog_add.php index 11e5e284..8773a367 100644 --- a/config/servicewatchdog/services_servicewatchdog_add.php +++ b/config/servicewatchdog/services_servicewatchdog_add.php @@ -55,7 +55,7 @@ unset($input_errors); if ($_POST) { if (!is_numeric($_POST['svcid'])) - + if (!isset($system_services[$_POST['svcid']])) { $input_errors[] = gettext("The supplied service appears to be invalid."); @@ -72,7 +72,7 @@ if ($_POST) { } $closehead = false; -$pgtitle = array(gettext("Services"),gettext("servicewatchdog"), gettext("Add")); +$pgtitle = array(gettext("Services"), gettext("servicewatchdog"), gettext("Add")); include("head.inc"); ?> |