|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Custom Avatar Queue remains after approval [message #164542 is a reply to message #164516] |
Wed, 16 February 2011 14:58 |
The Witcher
Messages: 675 Registered: May 2009 Location: USA
Karma: 3
|
Senior Member |
|
|
naudefj wrote on Sun, 13 February 2011 03:54A 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!"
|
|
|