zikula-modules/Legal — Issue #9: Terms acceptance for admin broken
Author: rmburkhead
Created: 2011-12-21 07:27:41+00:00
State: open
Labels: Bug, Minor

In a recent commit, `determineAcceptanceState()` was updated to ensure that special users (e.g., admin where uid == 2) are always found to have accepted the specified policy. In that commit, the date/time string returned to signify acceptance was the beginning of the Unix Epoch. This was incorrect. To always signify acceptance, the date/time string returned should always be the latest possible date/time (e.g., now).