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?
[SOLVED] Bug in News module? - articleid="-1" not working if no exp date is used
[SOLVED] Bug in News module? - articleid="-1" not working if no exp date is used
Last edited by NaN on Wed Jun 09, 2010 9:26 pm, edited 1 time in total.
-
- 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
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.
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.