diff --git a/inc/template.php b/inc/template.php
index 5508233ae7c5a45aaef9817e7d66b1eb43491698..c5b2d566aae602c7c533747d5417a6243d41a1d1 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -783,7 +783,7 @@ function tpl_get_action($type) {
     if($evt->advise_before()) {
         //handle unknown types
         if($unknown) {
-            $data = '[unknown %s type]'.$type;
+            $data = '[unknown %s type]';
         }
     }
     $evt->advise_after();