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();