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

use correct key looking for a public author of a task

Test Plan:
Used the scripts/mail_handler.php with and without patch and saw
the maniphest task being created with patch applied.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley, davidreuss

Differential Revision: 1041
This commit is contained in:
David Reuss 2011-10-28 08:04:13 -07:00 committed by epriestley
parent 2e174d8dbc
commit c20608f066

View file

@ -71,7 +71,7 @@ class PhabricatorMetaMTAReceivedMail extends PhabricatorMetaMTADAO {
$this->setAuthorPHID($user->getPHID()); $this->setAuthorPHID($user->getPHID());
} else { } else {
$default_author = PhabricatorEnv::getEnvConfig( $default_author = PhabricatorEnv::getEnvConfig(
'metamta.manipest.default-public-author'); 'metamta.maniphest.default-public-author');
if ($default_author) { if ($default_author) {
$user = id(new PhabricatorUser())->loadOneWhere( $user = id(new PhabricatorUser())->loadOneWhere(