summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Action.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Action.php b/app/Controller/Action.php
index 74a5326d..140c47d3 100644
--- a/app/Controller/Action.php
+++ b/app/Controller/Action.php
@@ -117,7 +117,7 @@ class Action extends Base
if ($valid) {
- if ($this->action->create($values)) {
+ if ($this->action->create($values) !== false) {
$this->session->flash(t('Your automatic action have been created successfully.'));
}
else {