To fix:
- admin/index.php
- case $op is 'save', 'Save'
- publishdate parameter is read from _POST, if not present defaults to time()
- three lines below call to setPublished
- comment out these two lines, there is no such parameter in the form posting to this controller
- also, expiredate is not set properly, check is fine, but then publishdate is read from _POST (instead of expiredate)