]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Event/showevent.php
More info for a proper, fancy-url lighttpd setup
[quix0rs-gnu-social.git] / plugins / Event / showevent.php
index e5afd47d00b765630d184218fce1ff54dc23694e..f1d8c6a0ddcc8bf9762b53cb5f60d10cfdc5c050 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (C) 2011, StatusNet, Inc.
  *
  * Show a single event
- * 
+ *
  * PHP version 5
  *
  * This program is free software: you can redistribute it and/or modify
@@ -53,7 +53,7 @@ class ShoweventAction extends ShownoticeAction
     {
         $this->id = $this->trimmed('id');
 
-        $this->event = Happening::staticGet('id', $this->id);
+        $this->event = Happening::getKV('id', $this->id);
 
         if (empty($this->event)) {
             // TRANS: Client exception thrown when referring to a non-existing event.