summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_captiveportal_hostname_edit.php
diff options
context:
space:
mode:
authorFrancois Blanchette <fblanchette@datavalet.com>2014-04-14 13:52:50 -0400
committerFrancois Blanchette <fblanchette@datavalet.com>2014-04-14 13:52:50 -0400
commit14da6d956bfc30fb8236c9a8de381e1912c941ef (patch)
treea7b9f431c610a09a76397a7d1308a03057952a3c /usr/local/www/services_captiveportal_hostname_edit.php
parente61f548f2ca406d1e89af2675d1dbe80e20a24fc (diff)
downloadpfsense-14da6d956bfc30fb8236c9a8de381e1912c941ef.zip
pfsense-14da6d956bfc30fb8236c9a8de381e1912c941ef.tar.gz
fixed a type in usort callback
Diffstat (limited to 'usr/local/www/services_captiveportal_hostname_edit.php')
-rw-r--r--usr/local/www/services_captiveportal_hostname_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_captiveportal_hostname_edit.php b/usr/local/www/services_captiveportal_hostname_edit.php
index 4af2c14..f428c15 100644
--- a/usr/local/www/services_captiveportal_hostname_edit.php
+++ b/usr/local/www/services_captiveportal_hostname_edit.php
@@ -47,7 +47,7 @@ function allowedhostnamescmp($a, $b) {
function allowedhostnames_sort() {
global $g, $config, $cpzone;
- usort($config['captiveportal'][$cpzone]['allowedhostname'],"allowedhostname");
+ usort($config['captiveportal'][$cpzone]['allowedhostname'],"allowedhostnamescmp");
}
require("guiconfig.inc");
OpenPOWER on IntegriCloud