@@ -115,7 +115,7 @@ |
||
115 | 115 | $post_status = $this->get_post_status( $payment->status ); |
116 | 116 | |
117 | 117 | if ( ! empty( $post_status ) ) { |
118 | - $data['post_status'] = $post_status; |
|
118 | + $data[ 'post_status' ] = $post_status; |
|
119 | 119 | } |
120 | 120 | |
121 | 121 | wp_update_post( $data ); |