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 #164542 is a reply to message #164516] Wed, 16 February 2011 14:58 Go to previous message
The Witcher is currently offline  The Witcher   United States
Messages: 675
Registered: May 2009
Location: USA
Karma:
Senior Member
naudefj wrote on Sun, 13 February 2011 03:54
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.


You will find it down around Line 157..... don't forget to rebuild themes afterwards



"I'm a Witcher, I solve human problems; not always using a sword!"
[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: Sun Nov 24 21:01:28 GMT 2024

Total time taken to generate the page: 0.05334 seconds