$this is a syntax error when using static classes (#5264)

This commit is contained in:
Luis Daniel Lucio Quiroz 2020-06-06 11:11:35 -04:00 committed by GitHub
parent cc3f919ffb
commit b65c8cd68b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ if (!class_exists('software')) {
* numeric_version
*/
public static function numeric_version() {
$v = explode('.', $this->version());
$v = explode('.', software::version());
$n = ($v[0] * 10000 + $v[1] * 100 + $v[2]);
return $n;
}