From: janw Date: Tue, 19 Feb 2008 13:11:56 +0000 (+0000) Subject: Fix for error message when adding client to LDAP was not successful. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e6ef9a7d3be7e835858bda33cfd39ea42bd5ba41;p=gosa.git Fix for error message when adding client to LDAP was not successful. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8954 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/modules/SIPackages.pm b/gosa-si/modules/SIPackages.pm index f84e3277b..eb454e4e8 100644 --- a/gosa-si/modules/SIPackages.pm +++ b/gosa-si/modules/SIPackages.pm @@ -914,7 +914,7 @@ sub process_detected_hardware { $entry->add("objectClass" => "gosaAdministrativeUnit"); $entry->add("gosaUnitTag" => $gosa_unit_tag); } - if(my $res=$entry->update($ldap)) { + if($entry->update($ldap)) { # Fill $mesg again $mesg = $ldap->search( base => $ldap_base,