From 2cccd8f7e5abff65b0ee5988de38b8dc86f7bf45 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 27 Aug 2008 09:41:17 +0000 Subject: [PATCH] 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 --- include/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2