summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-04-14 15:38:21 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-04-14 15:38:21 -0300
commite86ae5aea0a37a69c2507f10cfdd12863dd5f4a3 (patch)
tree896441627e416290816dadb39a9bd577a94fa02e /usr
parent1565d318efaa07a25efd2cc7957db0bf1caf04df (diff)
parent14da6d956bfc30fb8236c9a8de381e1912c941ef (diff)
downloadpfsense-e86ae5aea0a37a69c2507f10cfdd12863dd5f4a3.zip
pfsense-e86ae5aea0a37a69c2507f10cfdd12863dd5f4a3.tar.gz
Merge pull request #1091 from dv-user1/usort_fix2
Diffstat (limited to 'usr')
-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