Index: trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php |
— | — | @@ -427,7 +427,7 @@ |
428 | 428 | |
429 | 429 | if ( empty( $this->transactions ) || |
430 | 430 | !array_key_exists( $transaction, $this->transactions ) || |
431 | | - ! array_key_exists( 'request', $this->transactions[$transaction] ) ) { |
| 431 | + !array_key_exists( 'request', $this->transactions[$transaction] ) ) { |
432 | 432 | |
433 | 433 | $msg = self::getGatewayName() . ": $transaction request structure is empty! No transaction can be constructed."; |
434 | 434 | self::log( $msg, LOG_CRIT ); |
— | — | @@ -1371,7 +1371,7 @@ |
1372 | 1372 | } |
1373 | 1373 | |
1374 | 1374 | public function getTransactionAllResults() { |
1375 | | - if ( !empty( $this->transaction_results ) && is_array( $this->transaction_results ) ) { |
| 1375 | + if ( $this->transaction_results && is_array( $this->transaction_results ) ) { |
1376 | 1376 | return $this->transaction_results; |
1377 | 1377 | } else { |
1378 | 1378 | return false; |