summaryrefslogtreecommitdiff
path: root/lib/event.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/event.php')
-rw-r--r--lib/event.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/event.php b/lib/event.php
index 10ef5ec0a..d815ae54b 100644
--- a/lib/event.php
+++ b/lib/event.php
@@ -98,7 +98,7 @@ class Event {
* on results of handlers.
*/
- public static function handle($name, $args) {
+ public static function handle($name, $args=array()) {
$result = null;
if (array_key_exists($name, Event::$_handlers)) {
foreach (Event::$_handlers[$name] as $handler) {