From 326e96cc1787a724015d3f65750d923e80af964d Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Mon, 20 Aug 2012 15:49:57 +0100 Subject: [PATCH] Bug fix in dbcall --- src/Oauth2/Authentication/Server.php | 2 +- src/Oauth2/Resource/Server.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Oauth2/Authentication/Server.php b/src/Oauth2/Authentication/Server.php index 1e6ee1f5..733b51e3 100644 --- a/src/Oauth2/Authentication/Server.php +++ b/src/Oauth2/Authentication/Server.php @@ -513,6 +513,6 @@ class Server unset($args[0]); $params = array_values($args); - return call_user_func_array(array($this->db, $method), $args); + return call_user_func_array(array($this->db, $method), $params); } } diff --git a/src/Oauth2/Resource/Server.php b/src/Oauth2/Resource/Server.php index b9c6ca42..ab4626c3 100644 --- a/src/Oauth2/Resource/Server.php +++ b/src/Oauth2/Resource/Server.php @@ -219,6 +219,6 @@ class Server unset($args[0]); $params = array_values($args); - return call_user_func_array(array($this->_db, $method), $args); + return call_user_func_array(array($this->_db, $method), $params); } } \ No newline at end of file