From: hickert Date: Thu, 2 Oct 2008 06:16:54 +0000 (+0000) Subject: Updated Share Plugin. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e436828d5feeadae35f9c461a93a0c0ac89673a4;p=gosa.git 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 --- 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]; }