Page MenuHomePhabricator

D9046.id21485.diff
No OneTemporary

D9046.id21485.diff

diff --git a/src/applications/people/editor/PhabricatorUserEditor.php b/src/applications/people/editor/PhabricatorUserEditor.php
--- a/src/applications/people/editor/PhabricatorUserEditor.php
+++ b/src/applications/people/editor/PhabricatorUserEditor.php
@@ -243,7 +243,7 @@
$log->setOldValue($user->getIsSystemAgent());
$log->setNewValue($system_agent);
- $user->setIsSystemAgent($system_agent);
+ $user->setIsSystemAgent((int)$system_agent);
$user->save();
$log->save();

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 9, 8:18 AM (2 w, 14 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7578828
Default Alt Text
D9046.id21485.diff (528 B)

Event Timeline