summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-10-05 17:27:55 -0700
committerZach Copley <zach@status.net>2010-10-06 13:40:02 -0700
commit63663dbd0e4e5c3dd1139b7bdc82ec46a9f27525 (patch)
tree3dc1057001868ad06f24c25a506cabd6d441c842
parent4247be51164706af31b2d2a55807a05d89d31fb1 (diff)
Stab that 'p' parameter!
-rw-r--r--lib/apioauth.php2
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]);
}
}