* Adjust execute hook for workflow.

This commit is contained in:
chenfei
2019-07-24 18:26:00 +08:00
parent 3d626b7026
commit 821095baf7
11 changed files with 22 additions and 0 deletions
+2
View File
@@ -554,6 +554,8 @@ class bug extends control
$productName = $this->products[$productID];
$branches = $this->session->currentProductType == 'normal' ? array() : $this->loadModel('branch')->getPairs($bug->product);
$this->executeHooks($this->methodName, $bugID);
/* Header and positon. */
$this->view->title = "BUG #$bug->id $bug->title - " . $this->products[$productID];
$this->view->position[] = html::a($this->createLink('bug', 'browse', "productID=$productID"), $productName);