Fixed extra "!" and ")" on #16489

This commit is contained in:
Claudio Sanches 2017-08-17 19:05:46 -03:00
parent 3fb17f23e7
commit 909c3f6c8f
1 changed files with 1 additions and 1 deletions

View File

@ -1900,7 +1900,7 @@ if ( ! function_exists( 'woocommerce_order_again_button' ) ) {
* @subpackage Orders
*/
function woocommerce_order_again_button( $order ) {
if ( ! $order || ! ! $order->has_status( apply_filters( 'woocommerce_valid_order_statuses_for_order_again', array( 'completed' ) ) ) ) || ! is_user_logged_in() ) {
if ( ! $order || ! $order->has_status( apply_filters( 'woocommerce_valid_order_statuses_for_order_again', array( 'completed' ) ) ) || ! is_user_logged_in() ) {
return;
}