fix for #4009: set is_publishdate=1 if immediately published
This commit is contained in:
@@ -407,6 +407,9 @@
|
||||
SET NEW.`date_created`=NOW();
|
||||
SET NEW.`last_modified`=NOW();
|
||||
END IF;
|
||||
IF NEW.`status` <> 5 THEN
|
||||
SET NEW.`is_publishdate`=1;
|
||||
END IF;
|
||||
SET NEW.`need_npa_recalc`=1;
|
||||
END;");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user