From a72ea4616dbcea306ccffda30fbbbac231722fa2 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 1 Jun 2018 22:05:51 +0200 Subject: [PATCH] Firewall/Util, missing static in isPort() --- src/opnsense/mvc/app/library/OPNsense/Firewall/Util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opnsense/mvc/app/library/OPNsense/Firewall/Util.php b/src/opnsense/mvc/app/library/OPNsense/Firewall/Util.php index 5722543d9..b44e91c76 100644 --- a/src/opnsense/mvc/app/library/OPNsense/Firewall/Util.php +++ b/src/opnsense/mvc/app/library/OPNsense/Firewall/Util.php @@ -124,7 +124,7 @@ class Util * @param boolean $allow_range ranges allowed * @return boolean */ - public function isPort($number, $allow_range = true) + public static function isPort($number, $allow_range = true) { $tmp = explode(':', $number); foreach ($tmp as $port) {