Permalink
Browse files

Improve error message printed in SEV

Summary:
D3542 caused a SEV for us.
Make it better for future.

Test Plan: SEV

Reviewers: btrahan, epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3614
  • Loading branch information...
1 parent 7e7a029 commit 12df0761578b09cf998cfeb22e2a6662d17e1551 vrana committed Oct 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/aphront/configuration/AphrontApplicationConfiguration.php
@@ -140,7 +140,7 @@ public function willAuthenticateUserWithOAuth(
$blogs = id(new PhameBlogQuery())->withDomain($host)->execute();
$blog = reset($blogs);
if (!$blog) {
- if ($prod_uri) {
+ if ($prod_uri && $prod_uri != $base_uri) {
$prod_str = ' or '.$prod_uri;
} else {
$prod_str = '';

0 comments on commit 12df076

Please sign in to comment.