Cannot add images/binary files
Bug #861447 reported by
Carl Leitner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iHRIS Common |
Fix Committed
|
Medium
|
Carl Leitner | ||
4.1 |
Fix Committed
|
Medium
|
Carl Leitner |
Bug Description
Cannot add images/binary files to 4.1
Related branches
Changed in ihris-common: | |
assignee: | nobody → Carl Leitner (litlfred) |
importance: | Undecided → Medium |
Changed in ihris-common: | |
status: | New → Fix Committed |
To post a comment you must log in.
The issue is with getting the tmp key. The $_FILES array looks like this:
(
[person_ photo_passport] => Array
(
[0] => Array
(
[0] => Array
(
[fields] => Array
(
[image] => Array
(
[file] => car_lights.JPG
)
)
)
)
)
[person_ photo_passport] => Array
(
[0] => Array
(
[0] => Array
(
[fields] => Array
(
[image] => Array
(
[file] => image/jpeg
)
)
)
)
)
[ tmp_name] => Array
[person_ photo_passport] => Array
(
[0] => Array
(
[0] => Array
(
[fields] => Array
(
[image] => Array
(
[file] => /tmp/phptS4g9J
)
)
)
)
)
[ error] => Array
[person_ photo_passport] => Array
(
[0] => Array
(
[0] => Array
(
[fields] => Array
(
[image] => Array
...
[forms] => Array
(
[name] => Array
(
)
[type] => Array
(
)
(
)
(