From: cajus Date: Fri, 5 Feb 2010 13:17:28 +0000 (+0000) Subject: Fixed copy'n paste problem in FAI. Closes #842 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fc21e529a5f3b5cfaf7981637f4ec0ccecbb7bf1;p=gosa.git Fixed copy'n paste problem in FAI. Closes #842 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15594 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index 5d4a08cf7..48e52f963 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -182,7 +182,7 @@ class faiManagement extends management } // Automatically disable pasting process since there is no entry left to paste. - if(!$this->cpHandler->entries_queued()){ + if(isset($this->cpHandler) && !$this->cpHandler->entries_queued()){ $this->cpPastingStarted = FALSE; } return("");