summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 45af86c)
raw | patch | inline | side by side (parent: 45af86c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 May 2007 12:14:06 +0000 (12:14 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 24 May 2007 12:14:06 +0000 (12:14 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6466 594d385d-05f5-0310-b6e9-bd551577e9d8
setup/class_setupStep_Ldap.inc | patch | blob | history |
index 6b6053469c867a32bbb6daf87a539151c890bd3b..b2c467ef646c48fa7c29bb9057e78ad79382c149 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];
}