From: Alan Knowles Date: Mon, 28 Nov 2016 04:02:01 +0000 (+0800) Subject: mysql/core_notify_trigger_after_update.sql X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=2c7b61ac929177009b27b3f2ce5b2ee60f46fe68 mysql/core_notify_trigger_after_update.sql --- diff --git a/mysql/core_notify_trigger_after_update.sql b/mysql/core_notify_trigger_after_update.sql index efa74cec..bd8045f0 100644 --- a/mysql/core_notify_trigger_after_update.sql +++ b/mysql/core_notify_trigger_after_update.sql @@ -11,7 +11,7 @@ CREATE TRIGGER core_notify_trigger_after_update BEGIN -- make sure that act_start does not get modified if sent is set. IF OLD.sent IS NOT NULL AND ( NEW.act_start != OLD.act_start OR NEW.act_when != OLD.act_when ) THEN - UPDATE `Error: Can not update core_notify action dates after its set` SET x = 1; + UPDATE `Error: Can not update core_notify action dates after its sent` SET x = 1; END IF; END;