]> git.p6c8.net - jirafeau_project.git/commitdiff
[BUGFIX] Catch errors in upload form
authorDan Untenzu <untenzu@webit.de>
Fri, 27 Jan 2017 09:23:50 +0000 (10:23 +0100)
committerJerome Jutteau <jerome.jutteau@outscale.com>
Thu, 23 Feb 2017 17:34:20 +0000 (18:34 +0100)
The upload forms failed to catch errors due to a
never matching condition. Failing uploads (eg. because of
filesize limit etc.) still tried to render non-existing
download links instead of showing the error.

Fix the condition by testing if the return string
starts with "Error" instead of equals "Error".

Refs #96


No differences found

patrick-canterino.de