Refunds: Bug fix, missing closing )

This commit is contained in:
Coen Jacobs 2012-11-13 15:14:11 +01:00
parent 393107f4a5
commit b4d17940de
1 changed files with 1 additions and 1 deletions

View File

@ -966,7 +966,7 @@ function woocommerce_ajax_refund_order_item() {
if ( isset( $gateways[ $order->payment_method ] ) ) {
$gateway = $order->payment_method;
if ( in_array( 'refunds', $gateway->supports ) && method_exists( $gateway, 'refund' ) {
if ( in_array( 'refunds', $gateway->supports ) && method_exists( $gateway, 'refund' ) ) {
$order_item_ids = $_POST['order_item_ids'];
if ( sizeof( $order_item_ids ) > 0 ) {