Code

Suppress "PHP error "Non-static method LDAP::fix() should not be called statically...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Aug 2008 09:41:17 +0000 (09:41 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Aug 2008 09:41:17 +0000 (09:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@12286 594d385d-05f5-0310-b6e9-bd551577e9d8

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);