fixed variable typo

This commit is contained in:
Nathaniel Schweinberg 2015-03-28 09:28:31 -05:00
parent 9c9b494d0f
commit 7de9f02574
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class WC_Meta_Box_Coupon_Data {
foreach ( $product_ids as $product_id ) {
$product = wc_get_product( $product_id );
if( is_object( product ) ) {
if( is_object( $product ) ) {
$json_ids[ $product_id ] = wp_kses_post( $product->get_formatted_name() );
}
}