From e534839e67f9cbab89db4537a90fb2c53349028b Mon Sep 17 00:00:00 2001 From: Jaime Perez Crespo <jaime.perez@uninett.no> Date: Fri, 31 Jul 2015 16:07:33 +0200 Subject: [PATCH] Declare visibility of SimpleSAML\Utils\Net::ipCIDRcheck(). --- lib/SimpleSAML/Utils/Net.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SimpleSAML/Utils/Net.php b/lib/SimpleSAML/Utils/Net.php index 9c8e0df2e..1ae6cedbd 100644 --- a/lib/SimpleSAML/Utils/Net.php +++ b/lib/SimpleSAML/Utils/Net.php @@ -23,7 +23,7 @@ class Net * @author Brook Schofield, GÉANT * @author Jaime Perez, UNINETT AS <jaime.perez@uninett.no> */ - static function ipCIDRcheck($cidr, $ip = null) + public static function ipCIDRcheck($cidr, $ip = null) { if ($ip === null) { $ip = $_SERVER['REMOTE_ADDR']; -- GitLab