Page MenuHomePhabricator

D7489.diff

diff --git a/src/applications/diffusion/controller/DiffusionController.php b/src/applications/diffusion/controller/DiffusionController.php
--- a/src/applications/diffusion/controller/DiffusionController.php
+++ b/src/applications/diffusion/controller/DiffusionController.php
@@ -537,7 +537,7 @@
}
$user = id(new PhabricatorPeopleQuery())
- ->setViewer(new PhabricatorUser())
+ ->setViewer(PhabricatorUser::getOmnipotentUser())
->withUsernames(array($username))
->executeOne();
if (!$user) {

File Metadata

Mime Type
text/x-diff
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/nc/re/j5owrkmvaaegpq7t
Default Alt Text
D7489.diff (533 B)

Event Timeline