web: fix PHP warning

This commit is contained in:
David Anderson 2013-05-04 00:01:20 -07:00
parent 98751b9046
commit 6b22ba2902
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class BoincDb extends DbConn {
static function escape_string($string) {
$db = self::get();
return parent::base_escape_string(trim($string));
return $db->base_escape_string(trim($string));
}
static function error() {
$db = self::get();