Merge pull request #11670 from bafbes/abb100071

fix:this is not accessible in static context
This commit is contained in:
Laurent Destailleur 2019-08-09 23:42:27 +02:00 committed by GitHub
commit 92c0ed9759
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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