1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00

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
This commit is contained in:
vrana 2012-10-03 19:45:24 -07:00
parent 7e7a029481
commit 12df076157

View file

@ -140,7 +140,7 @@ abstract class AphrontApplicationConfiguration {
$blogs = id(new PhameBlogQuery())->withDomain($host)->execute(); $blogs = id(new PhameBlogQuery())->withDomain($host)->execute();
$blog = reset($blogs); $blog = reset($blogs);
if (!$blog) { if (!$blog) {
if ($prod_uri) { if ($prod_uri && $prod_uri != $base_uri) {
$prod_str = ' or '.$prod_uri; $prod_str = ' or '.$prod_uri;
} else { } else {
$prod_str = ''; $prod_str = '';