diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-02-23 18:07:44 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-02-23 18:07:44 +0000 |
commit | 08c616b67bc72817e7da8f5749f26ceeb301f8e1 (patch) | |
tree | 613999969706570e40dd6b165ccca8f328a7ed24 /h-source | |
parent | fd6f1fdf614b6da3f3ed8b4f16ba7ee1252daee6 (diff) |
modified the way the token is used inside IssuesController.php
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')); |