You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The database class was returning 0, a falsy value, since no rows
were being updated. This caused the system to think a failure had
occured. UserSettings now checks if the setting already has the
desired value and doesn't perform an update if it is.
Also changed PDO to error mode Exception and added and internal
message to APIException. Existing APIException usages will continue
working as usual. If an internal message is given, it will returned.
Otherwise the "normal" message will be returned.
Steps to reproduce: Go to Settings -> click Save without changing anything. An error is returned. It should return a success.
The text was updated successfully, but these errors were encountered: