aboutsummaryrefslogtreecommitdiffstats
path: root/config/servicewatchdog/services_servicewatchdog_add.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-08-06 17:00:43 -0400
committerjim-p <jimp@pfsense.org>2015-08-06 17:00:43 -0400
commitb279f031e69e5d0601e2d42bca260bc4526601a3 (patch)
treeb00b5d2604378fa3f86948e8e6fde4f7241781ed /config/servicewatchdog/services_servicewatchdog_add.php
parentd5f27ad3f734cd89ab448ba5cf505daf2ff293e0 (diff)
downloadpfsense-packages-b279f031e69e5d0601e2d42bca260bc4526601a3.tar.gz
pfsense-packages-b279f031e69e5d0601e2d42bca260bc4526601a3.tar.bz2
pfsense-packages-b279f031e69e5d0601e2d42bca260bc4526601a3.zip
Add missing return
Diffstat (limited to 'config/servicewatchdog/services_servicewatchdog_add.php')
-rw-r--r--config/servicewatchdog/services_servicewatchdog_add.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/servicewatchdog/services_servicewatchdog_add.php b/config/servicewatchdog/services_servicewatchdog_add.php
index 8773a367..10f24797 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']))
-
+ return;
if (!isset($system_services[$_POST['svcid']])) {
$input_errors[] = gettext("The supplied service appears to be invalid.");