Index: trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php |
— | — | @@ -1278,7 +1278,12 @@ |
1279 | 1279 | |
1280 | 1280 | $errors[ $code ] = ( $this->getGlobal( 'DisplayDebug' ) ) ? '*** ' . $message : $this->getErrorMapByCodeAndTranslate( $code ); |
1281 | 1281 | |
1282 | | - $this->setTransactionWMFStatus( $this->findCodeAction( 'GET_ORDERSTATUS', 'STATUSID', $code ) ); |
| 1282 | + $codeAction = $this->findCodeAction( 'GET_ORDERSTATUS', 'STATUSID', $code ); |
| 1283 | + |
| 1284 | + if ( !empty( $codeAction ) ) { |
| 1285 | + |
| 1286 | + $this->setTransactionWMFStatus( $codeAction ); |
| 1287 | + } |
1283 | 1288 | } |
1284 | 1289 | return $errors; |
1285 | 1290 | } |