summaryrefslogtreecommitdiff
path: root/src/web/_controller/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/_controller/template.php')
-rw-r--r--src/web/_controller/template.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/_controller/template.php b/src/web/_controller/template.php
index 7a8cdf8..879eadc 100644
--- a/src/web/_controller/template.php
+++ b/src/web/_controller/template.php
@@ -13,7 +13,8 @@ class Template_controller extends Controller {
$data = array(
'msg' => $this->request_model->get_str('msg', FALSE),
'detail' => $this->request_model->get_str('detail', FALSE),
- 'hint' => $this->request_model->get_str('hint', FALSE)
+ 'hint' => $this->request_model->get_str('hint', FALSE),
+ 'type' => $this->request_model->get_str('type', 'error')
);
$this->view('template/toast', $data);
}