From: hickert Date: Wed, 27 Aug 2008 09:41:17 +0000 (+0000) Subject: Suppress "PHP error "Non-static method LDAP::fix() should not be called statically... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2cccd8f7e5abff65b0ee5988de38b8dc86f7bf45;p=gosa.git Suppress "PHP error "Non-static method LDAP::fix() should not be called statically"" in functions.inc 2328 git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@12286 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index 33b35839a..ec1d945f9 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -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);