From 63663dbd0e4e5c3dd1139b7bdc82ec46a9f27525 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Tue, 5 Oct 2010 17:27:55 -0700 Subject: Stab that 'p' parameter! --- lib/apioauth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/apioauth.php b/lib/apioauth.php index 6a9ab6377..b2d8faa5a 100644 --- a/lib/apioauth.php +++ b/lib/apioauth.php @@ -93,7 +93,7 @@ class ApiOauthAction extends ApiAction $queryArray = explode('&', $_SERVER['QUERY_STRING']); for ($i = 0; $i < sizeof($queryArray); $i++) { - if (substr($queryArray[$i], 0, 1) == 'p=') { + if (substr($queryArray[$i], 0, 2) == 'p=') { unset($queryArray[$i]); } } -- cgit v1.2.3-54-g00ecf