3
Yep, reproduced and bug located.
Need to do a little testing before knowing if it causes other problems, but see if this helps:
in XOOPS/class/database/mysqldatabase.php, quoteString() method:
[d]
function quoteString($str)
{
if (is_string($str)) {
$str = "'".str_replace('\"', '"', addslashes($str))."'";
}
return $str;
}
[/d]
//replace with:
function quoteString($str)
{
if (!is_int($str)) {
$str = "'".str_replace('\"', '"', addslashes($str))."'";
}
return $str;
}
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."
Cusix Software