From: cajus Date: Mon, 31 Aug 2009 12:01:27 +0000 (+0000) Subject: I like braces... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3d9d94fc7d0ec624f90de5a3b5d0b72f9403c7f2;p=gosa.git I like braces... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14170 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_ldap.inc b/gosa-core/include/class_ldap.inc index 45ffae7f4..29f82e7fc 100644 --- a/gosa-core/include/class_ldap.inc +++ b/gosa-core/include/class_ldap.inc @@ -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); + } }