fix: refs #7141 catalog_calculate #2207

Merged
robert merged 4 commits from 7141-sale_replaceItem into master 2024-03-27 10:57:10 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 8e2770aa56 - Show all commits

View File

@ -78,7 +78,8 @@ BEGIN
SELECT price INTO vNewPrice SELECT price INTO vNewPrice
FROM tmp.ticketComponentPrice FROM tmp.ticketComponentPrice
WHERE (vQuantity % `grouping` = 0); ORDER BY (vQuantity % `grouping`) ASC
LIMIT 1;
IF vNewPrice IS NULL THEN IF vNewPrice IS NULL THEN
CALL util.throw('price retrieval failed'); CALL util.throw('price retrieval failed');