From 7fbc727c81b92cc7e2eb25a0caedcdd0185bdd0e Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 5 Mar 2008 08:09:20 +0000 Subject: [PATCH] Moved get_ldap_link git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9334 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_plugin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_plugin.inc b/gosa-core/include/class_plugin.inc index 4e3b0a9af..4b10313b9 100644 --- a/gosa-core/include/class_plugin.inc +++ b/gosa-core/include/class_plugin.inc @@ -153,13 +153,13 @@ class plugin $this->acl_base= $dn; /* Get LDAP descriptor */ - $ldap= $this->config->get_ldap_link(); if ($dn !== NULL){ /* Load data to 'attrs' and save 'dn' */ if ($parent !== NULL){ $this->attrs= $parent->attrs; } else { + $ldap= $this->config->get_ldap_link(); $ldap->cat ($dn); $this->attrs= $ldap->fetch(); } -- 2.30.2