Skip to content

Commit

Permalink
* Fix wrong variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjianhua committed Jul 6, 2022
1 parent d98ce00 commit e382d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/module/instance/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public function upgrade($instance, $toVersion, $appVersion)
$instanceData = new stdclass;
$instanceData->version = $toVersion;
$instanceData->appVersion = $appVersion;
$this->updateByID($instances->id, $instanceData);
$this->updateByID($instance->id, $instanceData);

return true;
}
Expand Down

0 comments on commit e382d2a

Please sign in to comment.