diff options
author | Zach Copley <zach@status.net> | 2010-10-05 17:27:55 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-10-06 13:40:02 -0700 |
commit | 63663dbd0e4e5c3dd1139b7bdc82ec46a9f27525 (patch) | |
tree | 3dc1057001868ad06f24c25a506cabd6d441c842 /lib | |
parent | 4247be51164706af31b2d2a55807a05d89d31fb1 (diff) |
Stab that 'p' parameter!
Diffstat (limited to 'lib')
-rw-r--r-- | lib/apioauth.php | 2 |
1 files changed, 1 insertions, 1 deletions
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]); } } |