From: janw Date: Sun, 25 Feb 2007 09:21:36 +0000 (+0000) Subject: Need to check if object is not null. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=998ba42e7ac8a9889a2fa565077621b14758f91f;p=gosa.git Need to check if object is not null. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5731 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index c850727a7..fbb89c73d 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -111,7 +111,7 @@ class userManagement extends plugin } /* 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'];