]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/router.php
Change common_local_url() to take 4 arguments
[quix0rs-gnu-social.git] / lib / router.php
index 0640a5911feb454dad071cb837430fcc1ba4b057..85425bed2964854d1371a05b369ffe6be29aa058 100644 (file)
@@ -350,7 +350,7 @@ class Router
         return $this->m->match($path);
     }
 
-    function build($action, $args=null, $fragment=null)
+    function build($action, $args=null, $params=null, $fragment=null)
     {
         $action_arg = array('action' => $action);
 
@@ -360,6 +360,6 @@ class Router
             $args = $action_arg;
         }
 
-        return $this->m->generate($args, null, $fragment);
+        return $this->m->generate($args, $params, $fragment);
     }
 }
\ No newline at end of file