summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a4a366e)
raw | patch | inline | side by side (parent: a4a366e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 2 Oct 2008 06:16:54 +0000 (06:16 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 2 Oct 2008 06:16:54 +0000 (06:16 +0000) |
-Fixed error message that occured when removing shares.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12588 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12588 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/services/shares/class_goShareServer.inc | patch | blob | history |
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 e32e9555eef1fa940a31162bc817878ed264e209..833239a230670617e8d20440761ec5dcfc6341c0 100644 (file)
$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];
}