fix:this is not accessible in static context

This commit is contained in:
Abbes Bahfir 2019-08-09 10:02:41 +01:00
parent 22575bb6e7
commit ae4efe9b75

View File

@ -143,7 +143,7 @@ class TraceableDB extends DoliDB
*/ */
public static function convertSQLFromMysql($line, $type = 'ddl') public static function convertSQLFromMysql($line, $type = 'ddl')
{ {
return $this->db->convertSQLFromMysql($line); return self::$db->convertSQLFromMysql($line);
} }
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps