From e436828d5feeadae35f9c461a93a0c0ac89673a4 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 2 Oct 2008 06:16:54 +0000 Subject: [PATCH] Updated Share Plugin. -Fixed error message that occured when removing shares. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12588 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/services/shares/class_goShareServer.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc b/gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc index e32e9555e..833239a23 100644 --- a/gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc +++ b/gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc @@ -226,7 +226,7 @@ class goShareServer extends goService{ $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); $ldap->search("(|(gotoProfileServer=*|$id)(gotoShare=*|$id|*||*))", array("cn")); - if ($ldap->count != 0){ + if ($ldap->count() != 0){ while ($attrs= $ldap->fetch()){ $obj[$ldap->getDN()]= $attrs['cn'][0]; } -- 2.30.2