Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
yuko fuyutsuki committed Feb 23, 2018
1 parent 1744eb4 commit df86771
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tokyo/pmmp/Texter/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,9 @@ private function checkUpdate(): void {
public function versionCompare(string $newVer, string $url): void {
$curVer = $this->getDescription()->getVersion();
if (version_compare($newVer, $curVer, "=")) {
$message = $this->lang->translateString("on.load.update.nothing");
$message = $this->lang->translateString("on.load.update.nothing", [
$curVer
]);
$this->getLogger()->notice($message);
}elseif (version_compare($newVer, $curVer, ">")) {
$message1 = $this->lang->translateString("on.load.update.available.1", [
Expand Down

0 comments on commit df86771

Please sign in to comment.