Skip to content

Commit

Permalink
fix:this is not accessible in static context
Browse files Browse the repository at this point in the history
  • Loading branch information
bafbes committed Aug 9, 2019
1 parent 22575bb commit ae4efe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/debugbar/class/TraceableDB.php
Expand Up @@ -143,7 +143,7 @@ public function getVersionArray()
*/
public static function convertSQLFromMysql($line, $type = 'ddl')
{
return $this->db->convertSQLFromMysql($line);
return self::$db->convertSQLFromMysql($line);
}

// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
Expand Down

0 comments on commit ae4efe9

Please sign in to comment.