summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/template.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index 64c87d583..4383c7a6b 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -109,7 +109,10 @@ function tpl_content(){
tpl_admin();
break;
default:
- msg("Failed to handle command: ".hsc($ACT),-1);
+ $evt = new event('ACTION_TEMPLATE',$ACT);
+ $evt->advise();
+ if ($evt->_default)
+ msg("Failed to handle command: ".hsc($ACT),-1);
}
}