diff --git a/vendor/oauth-php/library/OAuthRequest.php b/vendor/oauth-php/library/OAuthRequest.php
index 5bde0f3b41a62d4906594067f159720d8b207401..41448a35dff36ed271f3607292490e90bd910b93 100644
--- a/vendor/oauth-php/library/OAuthRequest.php
+++ b/vendor/oauth-php/library/OAuthRequest.php
@@ -702,7 +702,7 @@ class OAuthRequest
 					{
 						$v = trim($v);
 						list($name,$value) = explode('=', $v, 2);
-						if (!empty($value) && $value{0} == '"' && substr($value, -1) == '"')
+						if (!empty($value) && $value[0] == '"' && substr($value, -1) == '"')
 						{
 							$value = substr(substr($value, 1), 0, -1);
 						}
diff --git a/vendor/oauth-php/library/discovery/xrds_parse.php b/vendor/oauth-php/library/discovery/xrds_parse.php
index c9cf94997ddc047d290e963701a878d34cb3335c..7262bd92144509dc23c996a5bbef9772304c56e6 100644
--- a/vendor/oauth-php/library/discovery/xrds_parse.php
+++ b/vendor/oauth-php/library/discovery/xrds_parse.php
@@ -75,7 +75,7 @@ function xrds_parse ( $data )
 	foreach ($uris as $uri)
 	{
 		// TODO: support uris referring to service documents outside this one
-		if ($uri{0} == '#')
+		if ($uri[0] == '#')
 		{
 			$id    = substr($uri, 1);
 			$oauth = xrds_xrd_oauth($xpath, $id);
@@ -203,7 +203,7 @@ function xrds_xrd_oauth_service ( $n )
 		{
 			$service['consumer_key'] = $value;
 		}
-		else if ($name{0} != '#')
+		else if ($name[0] != '#')
 		{
 			$service[strtolower($name)] = $value;
 		}
@@ -301,4 +301,4 @@ function xrds_priority ( $elt )
 
 /* vi:set ts=4 sts=4 sw=4 binary noeol: */
  
-?>
\ No newline at end of file
+?>