Page 1 of 1

Some bug

Posted: Sun Oct 29, 2006 11:00 am
by uzoom
I found a tiny bug in the following project but I am not sure how to tell the project leader.

http://dev.cmsmadesimple.org/projects/lastmodpages/

The latest article of my website is not shown because of the following code
$query = "SELECT * FROM ".cms_db_prefix()."content WHERE active=1 ORDER BY modified_date DESC LIMIT 1,".$number;

I changed it to
$query = "SELECT * FROM ".cms_db_prefix()."content WHERE active=1 ORDER BY modified_date DESC LIMIT 0,".$number;

Thanks for the great code.

Re: Some bug

Posted: Sun Oct 29, 2006 11:52 am
by tsw
Its best to create bug report in the forge for that project, that way project admin gets notified about it.

but reports in the forum have a bad habit of getting forgotten