Code

Fixed copy'n paste problem in FAI. Closes #842
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 5 Feb 2010 13:17:28 +0000 (13:17 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 5 Feb 2010 13:17:28 +0000 (13:17 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15594 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiManagement.inc

index 5d4a08cf724e9e37986b0dca32712ca1df510aa6..48e52f9631402062a1b014b7d94ec6fc16d3f5bc 100644 (file)
@@ -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("");