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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
NaN

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

Post 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?
Last edited by NaN on Wed Jun 09, 2010 9:26 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

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

Post by calguy1000 »

This is already fixed in the CMSMS 1.8 beta.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Locked

Return to “CMSMS Core”