Added checks in Product::deleteAction()
This commit is contained in:
@@ -205,7 +205,7 @@ class OrderProductModel
|
||||
if (array_key_exists("product_id", $filter)) {
|
||||
$product_id = $filter['product_id'];
|
||||
if (is_numeric($product_id)) {
|
||||
$where .= " AND order_id=$product_id";
|
||||
$where .= " AND product_id=$product_id";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user