-
Type: Bug Report
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.2.0-RC1
-
Fix Version/s: 5.2.0
-
Component/s: File Uploader
-
Labels:None
-
External issue URL:
-
Change Log Message:Fixes inability to upload files on Front-End
-
Story Points:1
-
External issue ID:1358
-
Copy Issue Key:
-
Patch Instructions:
I was testing out 5.2.0-RC1 release recently and found, that no upload can be made on Front-End.
For example on a link submission page select an image and try to upload it. Error "Can't save file" will be displayed, but "/system/images/" folder is writable and I've checked it twice.
After some investigation I've found that this happened because of a fix in #0001291 task, where variable $value['error'] containing regular upload status code was converted to string, but later on was compares using "===" operator with integer constant resulting in "no match" at all times.