Current time: 03-21-2010, 04:15 PM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] [Mod CP] multiple multipage-related bugs
08-21-2008, 10:58 PM
Post: #1
[F] [Mod CP] multiple multipage-related bugs
File /modcp.php

Some evidence of lazy copying and pasting:

PHP Code:
$postcount intval($report_count)+1// line 129
$postcount intval($warnings)+1;     // line 239
$postcount intval($banned_count)+1// line 2320 

The +1 came from showthread.php where it's added to a thread's reply count.

----------

In action=modqueue, the pagination doesn't seem to work at all because the wrong variable ($postcount) is passed to multipage().

(needs to be fixed in 3 places)

----------

Typo: $unapprovedthreads should be $unapproved_attachments

----------

In action=modlogs, there are two typos in the URL passed to multipage():
  1. "orderby" should be "sortby"
  2. $mybb->input['sortby'] should be enclosed in curly brackets or else Array['sortby'] appears in the URL.
Visit this user's website Find all posts by this user
08-21-2008, 11:54 PM
Post: #2
[F] [Mod CP] multiple multipage-related bugs
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

Microsoft is like Umbrela Co., they create the virus and the vaccine, the zombie infestation is just a collateral effect.[/align]
Visit this user's website Find all posts by this user


Forum Jump: