Skip to content

Commit

Permalink
Fix warning when sorting versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kasimi committed Jul 13, 2017
1 parent 47cd271 commit 91bbcad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache/service.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function get_phpbb_versions()
$this->driver->put('_titania_phpbb_versions', $versions);
}

uasort($versions, array('versions', 'reverse_version_compare'));
uasort($versions, array(versions::class, 'reverse_version_compare'));

return $versions;
}
Expand Down

0 comments on commit 91bbcad

Please sign in to comment.