From 998ba42e7ac8a9889a2fa565077621b14758f91f Mon Sep 17 00:00:00 2001 From: janw Date: Sun, 25 Feb 2007 09:21:36 +0000 Subject: [PATCH] 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 --- plugins/admin/users/class_userManagement.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; -- 2.30.2