Stab that 'p' parameter!

This commit is contained in:
Zach Copley 2010-10-05 17:27:55 -07:00
parent 4247be5116
commit 63663dbd0e

View File

@ -93,7 +93,7 @@ class ApiOauthAction extends ApiAction
$queryArray = explode('&', $_SERVER['QUERY_STRING']); $queryArray = explode('&', $_SERVER['QUERY_STRING']);
for ($i = 0; $i < sizeof($queryArray); $i++) { for ($i = 0; $i < sizeof($queryArray); $i++) {
if (substr($queryArray[$i], 0, 1) == 'p=') { if (substr($queryArray[$i], 0, 2) == 'p=') {
unset($queryArray[$i]); unset($queryArray[$i]);
} }
} }