2008-08-21, 10:58 PM
File /modcp.php
Some evidence of lazy copying and pasting:
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():
Some evidence of lazy copying and pasting:
$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():
- "orderby" should be "sortby"
- $mybb->input['sortby'] should be enclosed in curly brackets or else Array['sortby'] appears in the URL.