Closed csteamengine closed 8 years ago
Done, if they don't upload a new image, it doesn't try to change it. Otherwise it writes the data from the other form inputs to the corresponding columns. Since it pre-loads the forms with the current data, this results in the data remaining the same unless the user changes it.
When you edit something, it needs to check if the value has changed, otherwise it will overwrite certain data. Like when you edit the title, it overwrites the image name, even though a new image wasn't uploaded.