From b3d8e4bf765bd2e9ff6bf8ce8eb0b23ac2e7b0e9 Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 6 Dec 2006 16:07:19 +0000 Subject: [PATCH] Fix for bug #2080 - Transfers window broken in the html interface --- campcaster/src/modules/htmlUI/var/ui_transfers.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }