From 9db0db83b14bbadeba8d74d6e2eba8cb71182f90 Mon Sep 17 00:00:00 2001 From: marco Date: Mon, 17 Aug 2015 12:44:53 +0200 Subject: [PATCH] There's no need to encode json in the Router. --- lib/Router/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Router/Router.php b/lib/Router/Router.php index 9e01381a84..76100c7bf3 100644 --- a/lib/Router/Router.php +++ b/lib/Router/Router.php @@ -25,7 +25,7 @@ class Router { $method = $_POST['method']; $args = $_POST['args']; $endpoint = new $endpoint(); - $endpoint->$method(json_encode($args)); + $endpoint->$method($args); } function setToken() {