diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc
index c850727a723f48a99dc60b1eaeba5c753bce33fa..fbb89c73d5dd2ff7b40ca30d1b8e5910a959ca77 100644 (file)
}
/* Get 'dn' from posted 'uid' */
- if(in_array_ics($s_action,array("editPaste","cut","copy")) || $this->CopyPasteHandler->stillOpen()){
+ if(in_array_ics($s_action,array("editPaste","cut","copy")) || ($this->CopyPasteHandler && $this->CopyPasteHandler->stillOpen())){
if(isset($this->list[trim($s_entry)]['dn'])){
$dn= $this->list[trim($s_entry)]['dn'];