Code

Suppress "PHP error "Non-static method LDAP::fix() should not be called statically...
[gosa.git] / include / functions.inc
index 33b35839a306a7c1833bebd605df2fd1421584d4..ec1d945f9d081d7dddb91b0f38672d7e0eeb4ee5 100644 (file)
@@ -2325,7 +2325,7 @@ function get_base_from_hook($dn, $attrib)
     $command= $config->current['BASE_HOOK'];
 
     if ($command != ""){
-      $command.= " '".LDAP::fix($dn)."' $attrib";
+      $command.= " '".@LDAP::fix($dn)."' $attrib";
       if (check_command($command)){
         @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__, $command, "Execute");
         exec($command, $output);