Allow bulk edit price to 0

Fixes #9143
This commit is contained in:
Mike Jolley 2015-09-16 13:20:59 +01:00
parent b8acbc37a5
commit 7a3bd70c8b
1 changed files with 2 additions and 2 deletions

View File

@ -2716,7 +2716,7 @@ class WC_AJAX {
* @param array $data
*/
private static function variation_bulk_action_variable_regular_price( $variations, $data ) {
if ( empty( $data['value'] ) ) {
if ( ! isset( $data['value'] ) ) {
return;
}
@ -2742,7 +2742,7 @@ class WC_AJAX {
* @param array $data
*/
private static function variation_bulk_action_variable_sale_price( $variations, $data ) {
if ( empty( $data['value'] ) ) {
if ( ! isset( $data['value'] ) ) {
return;
}