FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Custom Avatar Queue remains after approval
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Custom Avatar Queue remains after approval [message #164516 is a reply to message #164513] Sun, 13 February 2011 09:54 Go to previous messageGo to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma:
Senior Member
Administrator
Core Developer
A quick fix is to edit db.inc (for example, if you use MySQL, it would be sql/mysql/db.inc) and change:

function q_bitor($fieldLeft, $fieldRight) {
	return $fieldLeft .' | '. $fieldRight;
}


to

function q_bitor($fieldLeft, $fieldRight) {
	return '('. $fieldLeft .' | '. $fieldRight .')';
}


The problem doesn't occur on all PHP stacks, only apply it if you get the same problem.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Importing NNTP Messages with Mime-Encoded Attachments
Next Topic: Please grant your database user access to drop tables and try again.
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu May 16 07:52:25 GMT 2024

Total time taken to generate the page: 0.07404 seconds