LSsession :: loadLSaccess() : Fixed notice PHP

This commit is contained in:
Benjamin Renard 2010-11-16 19:31:07 +01:00
parent c577b7a706
commit d432819ed5

View file

@ -1601,7 +1601,7 @@ class LSsession {
*/
private static function loadLSaccess() {
$LSaccess=array();
if (is_array(self :: $ldapServer['subDn'])) {
if (isset(self :: $ldapServer['subDn']) && is_array(self :: $ldapServer['subDn'])) {
foreach(self :: $ldapServer['subDn'] as $name => $config) {
if ($name=='LSobject') {
if (is_array($config)) {