summaryrefslogtreecommitdiff
path: root/app/Action/Base.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Action/Base.php')
-rw-r--r--app/Action/Base.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/Action/Base.php b/app/Action/Base.php
index f29e9323..d0c81d89 100644
--- a/app/Action/Base.php
+++ b/app/Action/Base.php
@@ -222,12 +222,17 @@ abstract class Base extends \Core\Base
}
$data = $event->getAll();
+ $result = false;
if ($this->isExecutable($data)) {
$this->called = true;
- return $this->doAction($data);
+ $result = $this->doAction($data);
}
- return false;
+ if (DEBUG) {
+ $this->container['logger']->debug(get_called_class().' => '.($result ? 'true' : 'false'));
+ }
+
+ return $result;
}
}