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:
parent
2e174d8dbc
commit
c20608f066
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue