summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/events.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/events.php b/inc/events.php
index 9c3169b34..44ccdb8a6 100644
--- a/inc/events.php
+++ b/inc/events.php
@@ -32,6 +32,10 @@ class Doku_Event {
}
+ function __toString() {
+ return $this->name;
+ }
+
/**
* advise functions
*