mirror of https://github.com/BOINC/boinc.git
web: fix PHP warning
This commit is contained in:
parent
98751b9046
commit
6b22ba2902
|
@ -100,7 +100,7 @@ class BoincDb extends DbConn {
|
||||||
|
|
||||||
static function escape_string($string) {
|
static function escape_string($string) {
|
||||||
$db = self::get();
|
$db = self::get();
|
||||||
return parent::base_escape_string(trim($string));
|
return $db->base_escape_string(trim($string));
|
||||||
}
|
}
|
||||||
static function error() {
|
static function error() {
|
||||||
$db = self::get();
|
$db = self::get();
|
||||||
|
|
Loading…
Reference in New Issue