Please find attached a patch for fixing it.

I also found that a query, to populate $previous in ec_nodeaccess_save(), was executed even though there was no latest entry with the same categories and nodes. This caused an issue on PostgreSQL with an empty string being an illegal datetime value. MySQL will be happier with less queries as well.

Comments

danielb’s picture

Status: Needs review » Fixed

added to the new version

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.