Code

Updated defaults
[gosa.git] / gosa-core / include / class_ldap.inc
index 45ffae7f4a4b8e8901985ea8ebc611cc49f089f1..29f82e7fcd4e460a4c7f41dc04c0aa81695cb9b6 100644 (file)
@@ -735,6 +735,7 @@ class LDAP{
     }
   }
 
+
   function get_attribute($dn, $name,$r_array=0)
   {
     $data= "";
@@ -750,12 +751,11 @@ class LDAP{
         }
       }
     }
-    if($r_array==0)
-    return ($data);
-    else
-    return ($info);
-  
-  
+    if($r_array==0) {
+      return ($data);
+    } else {
+      return ($info);
+    }
   }