Page 1 of 1

[SOLVED] Bug in News module? - articleid="-1" not working if no exp date is used

Posted: Tue Jun 08, 2010 2:28 pm
by NaN
If you do not use the expiry date in News module and edit an article the start date is reset to NULL.
So after you edit the latest news article it suddenly won't be shown as the latest one (since it checks for the start date to get the latest article).
Shouldn't the previously stored start date (when the article was created - there it was the same like the create date) be used?

So in line 135 of action.editarticle.php it should be just $startdate instead of $startdatestr, shouldn't it?

Re: Bug in News module? - articleid="-1" not working if no expiry date is used

Posted: Tue Jun 08, 2010 2:37 pm
by calguy1000
This is already fixed in the CMSMS 1.8 beta.

Re: [SOLVED] Bug in News module? - articleid="-1" not working if no exp date is used

Posted: Wed Jun 09, 2010 9:27 pm
by NaN
Good news :D