From b1bd704d09ef91ee2ea0307e167ec7ff51ada0ec Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 26 Oct 2010 12:17:17 +0000 Subject: [PATCH] Fixed permission checks in sortableListing -thanks to 'bcooksley' git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20160 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_sortableListing.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc index 5f3524f93..22d7a18df 100644 --- a/gosa-core/include/class_sortableListing.inc +++ b/gosa-core/include/class_sortableListing.inc @@ -238,7 +238,7 @@ class sortableListing { } else { $edit_image= $this->editable?image('images/lists/edit.png', "%ID", _("Edit this entry")):""; } - if (strpos($this->acl, 'd') === false) { + if (strpos($this->acl, 'w') === false) { $delete_image= $this->deleteable?image('images/lists/trash-grey.png'):""; } else { $delete_image= $this->deleteable?image('images/lists/trash.png', "%ID", _("Delete this entry")):""; -- 2.30.2