Skip to main content
Topic: un approved topics (Read 1107 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

un approved topics

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.
Bugs creator.
Features destroyer.
Template killer.

Re: un approved topics

Reply #1
LOL. -1 topics. I guess that means the moderatz0rs are a little ahead of the game today.  :D
~((0040 + 0x20) + (0b111 << 1))
"You never said something, for me, to penny mention work a barbecue pit." ~ Gilligan

Re: un approved topics

Reply #2
 emanuele is efficient! O:-)
Bugs creator.
Features destroyer.
Template killer.