summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/template.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index 31a65ce61..eb88732c4 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -170,8 +170,9 @@ function tpl_content_core() {
break;
default:
$evt = new Doku_Event('TPL_ACT_UNKNOWN', $ACT);
- if($evt->advise_before())
+ if($evt->advise_before()) {
msg("Failed to handle command: ".hsc($ACT), -1);
+ }
$evt->advise_after();
unset($evt);
return false;