Remove implode function

This commit is contained in:
Gerhard 2014-03-06 08:10:08 +02:00
parent d5171854a1
commit 8e0a267a84
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ class WC_API_Coupons extends WC_API_Resource {
}
if ( isset( $data['customer_email'] ) ) {
update_post_meta( $id, 'customer_email', implode( ',', array_filter( array_map( 'sanitize_email', $data['customer_email'] ) ) );
update_post_meta( $id, 'customer_email', array_filter( array_map( 'sanitize_email', $data['customer_email'] ) ) );
}
do_action( 'woocommerce_api_edit_coupon', $id, $data );