10/02/04 01:30am
Status: offline
ByteEnable
Forum User
Full Member
Registered: 10/20/03
Posts: 138
Hi,
I found that the COM_whatsNew block has a logic error in the comments section
Text Formatted Code
for( $x = 1; $x <= $nrows; $x++ )
So, if you have a 1000 unique comments, its going to list a 1000 comments.
Byte
10/02/04 04:02am
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Quote by ByteEnable: So, if you have a 1000 unique comments, its going to list a 1000 comments.
Nope. You must have missed the
LIMIT 15
in the SQL request that actually collects the comments.
bye, Dirk
10/02/04 10:39am
Status: offline
ByteEnable
Forum User
Full Member
Registered: 10/20/03
Posts: 138
Thanks! That was a big sql statement so I just breezed over it Byte