summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-12-31 03:18:17 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-12-31 03:18:17 +0000
commit8e85eff777b2f3690ab7181ac1263db3ecd8b732 (patch)
tree8a570bb69bc82b7c71ff6e86a19397186a105984 /etc
parentac67e392e6a8a43cb898c4ce4349ee7e1370d7e9 (diff)
downloadpfsense-8e85eff777b2f3690ab7181ac1263db3ecd8b732.zip
pfsense-8e85eff777b2f3690ab7181ac1263db3ecd8b732.tar.gz
Correct variable check.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/auth.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 55759e8..45e0210 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -680,7 +680,7 @@ function ldap_get_user_ous($show_complete_ou=false) {
$ou = $inf_split[0];
$ou = str_replace("OU=","", $ou);
} else {
- if($inf)
+ if($inf['dn'])
$ou = $inf['dn'];
}
if($ou)
OpenPOWER on IntegriCloud