Added checks in Product::deleteAction()

This commit is contained in:
Frank Schubert
2024-02-21 16:00:41 +01:00
parent b833c57a98
commit db240354a4
2 changed files with 26 additions and 2 deletions
@@ -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";
}
}