@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix system agent toggling in MySQL strict mode

Summary: `''` is not a valid integer.

Test Plan: Used `bin/accountadmin` to turn bot flag on and off for a user.

Reviewers: btrahan, Firehed

Reviewed By: Firehed

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D9046

+1 -1
+1 -1
src/applications/people/editor/PhabricatorUserEditor.php
··· 243 243 $log->setOldValue($user->getIsSystemAgent()); 244 244 $log->setNewValue($system_agent); 245 245 246 - $user->setIsSystemAgent($system_agent); 246 + $user->setIsSystemAgent((int)$system_agent); 247 247 $user->save(); 248 248 249 249 $log->save();