xoopscube/legacy — pull request #6 by suin (2012-07-26 09:57:47+00:00)
Title: [users] User avatar is gone when just submit form without any uploads

# Reproduction steps

* Login with `admin`
* Go to user module preference
* Check "Yes" for "Allow custom avatar upload?" and submit
* Go to "Edit avatar" and upload a image and submit
* Again go to "Edit avatar" and just click "Submit" to submit (don't upload any images here)

# Expected Result

Uploaded avatar appears in user information page.

# Actual Result

Uploaded avatar is gone in user information page.

![](https://dl.dropbox.com/u/949822/github.com/suin-legacy-issue-15-actual-result.png)