We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 01a1e882 authored by Brion Vibber's avatar Brion Vibber

Handle "forgot to upload an avatar on avatarsettings" a little more gracefully.

parent 1301877d
......@@ -301,6 +301,10 @@ class AvatarsettingsAction extends AccountSettingsAction
if ($imagefile === null) {
$this->showForm(_('No file uploaded.'));
$cur = common_current_user();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment