ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: emanuele on April 27, 2013, 06:01:53 pm

Title: un approved topics
Post by: emanuele on April 27, 2013, 06:01:53 pm
Quote! There are -1 topics and 0 posts awaiting approval in this board. Click here to view them all.

Obviously a data consistency issue: something has not been updated the moment the topic has been unapproved.

I was thinking to add something like max(0, $changes['something']) in the last two UPDATE queries of approvePosts.
Though there is also to catch the reason why the data has been inconsistent in the first place and at the moment I'm not sure where it is, though since the board in question is the recycle bin, I think it has to do with some of the "special cases" related to that kind of board. I wonder why frequently that board is considered special...it's not, it's just another board.
Title: Re: un approved topics
Post by: The Craw on April 27, 2013, 11:51:54 pm
LOL. -1 topics. I guess that means the moderatz0rs are a little ahead of the game today.  :D
Title: Re: un approved topics
Post by: emanuele on April 28, 2013, 04:42:11 am
/me is efficient! O:-)