Skip to content

Commit 83257d9

Browse files
Update includes/data-stores/class-wc-product-data-store-custom-table.php
Co-authored-by: Claudio Sanches <[email protected]>
1 parent 320c1e5 commit 83257d9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

includes/data-stores/class-wc-product-data-store-custom-table.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2286,7 +2286,6 @@ public function get_query_for_stock( $product_id ) {
22862286
return $wpdb->prepare(
22872287
"
22882288
SELECT COALESCE ( MAX( stock_quantity ), 0 ) FROM {$wpdb->prefix}wc_products
2289-
22902289
WHERE product_id = %d
22912290
",
22922291
$product_id

0 commit comments

Comments
 (0)