Skip to main content
Topic: Drafts list bug? (Read 5893 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Drafts list bug?

Going to http://www.elkarte.net/index.php?action=profile;area=showdrafts
I have 3 pages listed, though the second is empty and the third is the same as the first one except for the numbering that starts (correctly) from 31 instead of 1.

ETA: testing it locally (with 12 pages of drafts), the first three pages look good, from the 4th to the 6th are empty, page 7 and 8 give me these errors:
Code: [Select]
Notice: Undefined index: drafts in /sources/controllers/Draft.controller.php on line 150

Warning: array_reverse() expects parameter 1 to be array, null given in /sources/controllers/Draft.controller.php on line 150
page 10, 11 and 12 are apparently repetitions of 1, 2 and 3.

I'm testing on my "small_things" branch so it may be my fault, though let's track it down before I forget. :P
Bugs creator.
Features destroyer.
Template killer.