diff --git a/inc/events.php b/inc/events.php
index 9c3169b34e9716bf86c297ff4c43624b0ca2b198..44ccdb8a6e3e429ee7bb560b708222a00d407589 100644
--- a/inc/events.php
+++ b/inc/events.php
@@ -32,6 +32,10 @@ class Doku_Event {
 
     }
 
+    function __toString() {
+        return $this->name;
+    }
+
     /**
      * advise functions
      *