]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/event.php
automatically handle non-laconica-named databases
[quix0rs-gnu-social.git] / lib / event.php
index 10ef5ec0a9a1b74c4ca361bba0a07011c4e04ba7..d815ae54bac4a137a2f5b534cc06e8cccba066b3 100644 (file)
@@ -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) {