summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9a8f7e2)
raw | patch | inline | side by side (parent: 9a8f7e2)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 May 2007 11:48:28 +0000 (11:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 May 2007 11:48:28 +0000 (11:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6465 594d385d-05f5-0310-b6e9-bd551577e9d8
setup/class_setupStep_Ldap.inc | patch | blob | history |
index b6e1126eb11db4b11397add3e97a808776444576..8bd9076e771af414b8597f568b6c352382149850 100644 (file)
if($reset){
$this->parent->disable_steps_from(($this->parent->step_name_to_id(get_class($this))) +1);
$attr = @LDAP::get_naming_contexts($this->connection);
- if(!in_array(get_post("base"),$attr)){
+ if(is_array($attr) && !in_array(get_post("base"),$attr)){
if(isset($attr[0])){
$this->base = $attr[0];
}