Fix for bug #2080 - Transfers window broken in the html interface
This commit is contained in:
parent
62b3ad1d73
commit
b3d8e4bf76
|
@ -54,7 +54,7 @@ class uiTransfers
|
||||||
foreach ($transfers as $transfer) {
|
foreach ($transfers as $transfer) {
|
||||||
$token = $transfer['trtok'];
|
$token = $transfer['trtok'];
|
||||||
$data = $this->Base->gb->getTransportInfo($token);
|
$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));
|
$this->allItems[] = array_merge($data,array('id' => $token));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue