Return null in case creators are not defined

This commit is contained in:
paca70 2004-10-13 06:50:13 +00:00
parent 3f6bc1f2af
commit 911aba7dd8

View File

@ -512,7 +512,7 @@ function auth_iscreator($username=0) {
}
if ((! $CFG->ldap_creators) OR (! $CFG->ldap_memberattribute)) {
return false;
return null;
}
return auth_ldap_isgroupmember($username, $CFG->ldap_creators);