this error when FlashGame save score
Code:
Fatal error: Call to a member function escape_string() on a non-object in [parth]/forum/global.php(37) : eval()'d code on line 51
on this line in your product
PHP Code:
// initialize replacements array
$replacements = array(
"('" . IPADDRESS . "', 'country', '" . IPADDRESS . "_country')",
"('" . $db->escape_string($_SERVER['HTTP_USER_AGENT']) . "', 'useragent', '" . IPADDRESS . "_useragent')"
);