From: Dan Untenzu Date: Fri, 27 Jan 2017 09:23:50 +0000 (+0100) Subject: [BUGFIX] Catch errors in upload form X-Git-Tag: 3.0.0~13 X-Git-Url: https://git.p6c8.net/jirafeau_project.git/commitdiff_plain/169cbfa6f1d566deba92eb3ac559cba01588be27?hp=169cbfa6f1d566deba92eb3ac559cba01588be27 [BUGFIX] Catch errors in upload form 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 ---