Code

Don't gray out ldap connection step
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 May 2007 08:59:13 +0000 (08:59 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 10 May 2007 08:59:13 +0000 (08:59 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6334 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/class_setupStep_Ldap.inc

index c982eec68a4db0de8366ba778339970fc7ff40a9..91752060436ee16e59e04680242058cd44e5d213 100644 (file)
@@ -134,7 +134,7 @@ class Step_Ldap extends setup_step
       if(isset($_POST[$attr])){
 
         if(in_array($attr,array("base","connection")) && $this->$attr != get_post($attr)){
-          $this->parent->disable_steps_from($this->parent->step_name_to_id(get_class($this)));
+          $this->parent->disable_steps_from($this->parent->step_name_to_id(get_class($this)) + 1);
         }
         $this->$attr = get_post($attr);
       }