diff options
author | Evan Prodromou <evan@status.net> | 2010-03-01 15:39:41 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-03-01 18:03:18 -0500 |
commit | 656a977016701e7a0a1f936909cd7d4a5975f5be (patch) | |
tree | 9df7790140034d5b9dc17bd230a79a04ca98ea76 /actions/updateprofile.php | |
parent | c7d8641e7dcb2af0ab9ad682f64c5ebc45fbbeae (diff) |
remove strict check on OMB exception strings
Diffstat (limited to 'actions/updateprofile.php')
-rw-r--r-- | actions/updateprofile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/updateprofile.php b/actions/updateprofile.php index 44fafdd92..bae6108cc 100644 --- a/actions/updateprofile.php +++ b/actions/updateprofile.php @@ -79,8 +79,8 @@ class UpdateprofileAction extends Action $srv->handleUpdateProfile(); } catch (OMB_RemoteServiceException $rse) { $msg = $rse->getMessage(); - if (preg_match('/^Revoked accesstoken/', $msg) || - preg_match('/^No subscriber/', $msg)) { + if (preg_match('/Revoked accesstoken/', $msg) || + preg_match('/No subscriber/', $msg)) { $this->clientError($msg, 403); } else { $this->clientError($msg); |