diff --git a/module/execution/model.php b/module/execution/model.php index f61eaf0e31..ad1311bcbe 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -1733,7 +1733,7 @@ class executionModel extends model if(isset($oldExecutionProducts[$productID][$branch])) { $oldExecutionProduct = $oldExecutionProducts[$productID][$branch]; - $oldPlan = $oldExecutionProduct->plan; + $oldPlan = $oldExecutionProduct->plan; } $data = new stdclass(); diff --git a/module/my/control.php b/module/my/control.php index 84eecfc116..167b94848d 100644 --- a/module/my/control.php +++ b/module/my/control.php @@ -642,6 +642,7 @@ class my extends control public function audit($browseType = 'wait', $orderBy = 't1.id_desc', $recTotal = 0, $recPerPage = 15, $pageID = 1) { $this->loadModel('datatable'); + $this->loadModel('baseline'); $this->session->set('reviewList', $this->app->getURI(true)); $this->app->loadLang('review'); $this->app->loadClass('pager', true);