Page MenuHomePhabricator

D9046.diff
No OneTemporary

D9046.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, Mar 26, 5:05 AM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7578828
Default Alt Text
D9046.diff (528 B)

Event Timeline