From 88c9c864bf7d4e911f817549a124bc82fc4c026a Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 19 Sep 2007 14:06:38 +0000 Subject: [PATCH] We need more checks in case of disabled Copy & PAste or snapshots git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7334 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/users/class_divListUsers.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin/users/class_divListUsers.inc b/plugins/admin/users/class_divListUsers.inc index 843930b7c..5a1c550d7 100644 --- a/plugins/admin/users/class_divListUsers.inc +++ b/plugins/admin/users/class_divListUsers.inc @@ -136,7 +136,7 @@ class divListUsers extends MultiSelectWindow /* Get copy & paste icon */ $acl_all = $ui->has_complete_category_acls($this->selectedBase,"users") ; $acl = $ui->get_permissions($this->selectedBase,"users/user"); - if(preg_match("/(c.*w|w.*c)/",$acl_all) && $this->parent->CopyPasteHandler){ + if(preg_match("/(c.*w|w.*c)/",$acl_all) && is_object($this->parent->CopyPasteHandler)){ $Copy_Paste = $this->parent->CopyPasteHandler->generatePasteIcon(); }else{ $Copy_Paste =""; -- 2.30.2