diff --git a/campcaster/src/modules/htmlUI/var/ui_transfers.class.php b/campcaster/src/modules/htmlUI/var/ui_transfers.class.php index 6e2e339f7..85efbeda3 100644 --- a/campcaster/src/modules/htmlUI/var/ui_transfers.class.php +++ b/campcaster/src/modules/htmlUI/var/ui_transfers.class.php @@ -54,7 +54,7 @@ class uiTransfers foreach ($transfers as $transfer) { $token = $transfer['trtok']; $data = $this->Base->gb->getTransportInfo($token); - if ($data['state']!='finished') { + if (!PEAR::isError($data) && ($data['state'] != 'finished') ){ $this->allItems[] = array_merge($data,array('id' => $token)); } }