Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › typo in code
- This topic has 1 reply, 2 voices, and was last updated 4 years, 10 months ago by WCFM Forum.
Viewing 1 reply thread
- AuthorPosts
- June 20, 2019 at 12:00 am #68689fairooz marketParticipant
line 401 & 402 of wcfm-controller-wcfmarketplace-orders.php
$status_update_block_statuses = apply_filters( 'wcfm_status_update_block_statuses', array( 'refunded', 'cancelled', 'failed' ), $order->order_id ); if( in_array( 'wc-completed', array_keys($allowed_order_status) ) && !in_array( 'completed', $status_update_block_statuse ) && !in_array( $order_status, array( 'failed', 'cancelled', 'refunded', 'completed' ) ) ) $actions = '<a class="wcfm_order_mark_complete wcfm-action-icon" href="#" data-orderid="' . $order->order_id . '"><span class="wcfmfa fa-check-circle text_tip" data-tip="' . esc_attr__( 'Mark as Complete', 'wc-frontend-manager' ) . '"></span></a>'; should be
!in_array( ‘completed’, $status_update_block_statuses )
missing the s causing null error
`
- June 22, 2019 at 5:20 am #69009WCFM ForumKeymaster
Thanks for this, we will definitely take care of this in next update.
- AuthorPosts
Viewing 1 reply thread
- You must be logged in to reply to this topic.