* Refactor getLast method.

This commit is contained in:
tianshujie
2023-10-09 14:27:39 +08:00
parent fb90d9b34a
commit 36ebc103fe
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ class release extends control
$this->view->productID = $productID;
$this->view->builds = $builds;
$this->view->users = $this->loadModel('user')->getPairs('noclosed');
$this->view->lastRelease = $this->release->getLast($productID, $branch);
$this->view->lastRelease = $this->release->getLast($productID, (int)$branch);
$this->display();
}