fix: refs #7335 hotFix cmrTicket
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Robert Ferrús 2024-06-05 13:42:21 +02:00
parent 82954ed299
commit 40d40bd0bb
1 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,9 @@ BEGIN
SET hasNewRoute = TRUE SET hasNewRoute = TRUE
WHERE ticketFk = NEW.id; WHERE ticketFk = NEW.id;
CALL ticket_doCmr(NEW.id); IF NEW.cmrFk THEN
CALL ticket_doCmr(NEW.id);
END IF;
END IF; END IF;
END$$ END$$
DELIMITER ; DELIMITER ;