Code

bugfix: deprecated syntax in SIPackages
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Apr 2008 07:27:32 +0000 (07:27 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 17 Apr 2008 07:27:32 +0000 (07:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10529 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/SIPackages.pm

index 5861160481eb0853523a1b24a91fb41fec7aef4c..a46c34cfe04b458034c5657c57056fb90eed628e 100644 (file)
@@ -732,7 +732,7 @@ sub new_ldap_config {
        }
 
        # Do we need to look at an object class?
-       if (not defined @servers){
+       if (not @servers){
                $mesg = $ldap_handle->search( base   => $ldap_base,
                        scope  => 'sub',
                        attrs => ['dn', 'gotoLdapServer', 'FAIclass'],