From 8f4f35ecc495115b00825cf0483abd279f51c847 Mon Sep 17 00:00:00 2001 From: chris <chris@jalakai.co.uk> Date: Sat, 15 Apr 2006 18:22:47 +0200 Subject: [PATCH] event ACTION_TEMPLATE minor update darcs-hash:20060415162247-9b6ab-d6c05736c0e4fb05331bc1cf06e48c5d61c64d5b.gz --- inc/template.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inc/template.php b/inc/template.php index 5e98526ff..12e4969f0 100644 --- a/inc/template.php +++ b/inc/template.php @@ -125,8 +125,7 @@ function tpl_content_core(){ break; default: $evt = new event('ACTION_TEMPLATE',$ACT); - $evt->advise(); - if ($evt->_default) + if ($evt->advise()) msg("Failed to handle command: ".hsc($ACT),-1); } } -- GitLab