diff options
Diffstat (limited to 'h-source')
-rw-r--r-- | h-source/Application/Controllers/IssuesController.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/h-source/Application/Controllers/IssuesController.php b/h-source/Application/Controllers/IssuesController.php index 9c0715d..8cef74b 100644 --- a/h-source/Application/Controllers/IssuesController.php +++ b/h-source/Application/Controllers/IssuesController.php @@ -85,7 +85,7 @@ class IssuesController extends BaseController } $data['notice'] = $this->m['IssuesModel']->notice; - + $this->m['IssuesModel']->setForm('issues/viewall/'.$this->lang.$this->viewStatus."#form",array('previewAction'=>'preview','insertAction'=>'submit')); $values = $this->m['IssuesModel']->getFormValues('insert','sanitizeHtml'); @@ -156,7 +156,10 @@ class IssuesController extends BaseController } $data['notice'] = $this->m['MessagesModel']->notice; - + + $this->viewArgs['token'] = $this->token; + $this->buildStatus(); + //create the form $this->m['MessagesModel']->setForm('issues/view/'.$this->lang."/".$clean['id_issue'].$this->viewStatus."#form",array('previewAction'=>'preview','insertAction'=>'submit')); |