Index: trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php |
— | — | @@ -169,6 +169,7 @@ |
170 | 170 | protected $dataObj; |
171 | 171 | protected $transaction_results; |
172 | 172 | protected $validation_errors; |
| 173 | + protected $manual_errors = array(); |
173 | 174 | protected $current_transaction; |
174 | 175 | protected $action; |
175 | 176 | public $debugarray; |
Index: trunk/extensions/DonationInterface/gateway_common/GatewayForm.php |
— | — | @@ -111,9 +111,9 @@ |
112 | 112 | $check_not_empty = array_merge( $check_not_empty, $add_checks ); |
113 | 113 | } |
114 | 114 | |
115 | | - $validate_errors = $this->adapter->revalidate( $check_not_empty ); |
| 115 | + $validated_ok = $this->adapter->revalidate( $check_not_empty ); |
116 | 116 | |
117 | | - return $validate_errors; |
| 117 | + return !$validated_ok; |
118 | 118 | } |
119 | 119 | |
120 | 120 | /** |