Skip to content
Snippets Groups Projects
Commit dbff37f1 authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

fix: pb with empty values

parent de01b80b
No related branches found
No related tags found
No related merge requests found
...@@ -273,6 +273,7 @@ class resources_controler ...@@ -273,6 +273,7 @@ class resources_controler
if ($data[$i]['value'] == '') { if ($data[$i]['value'] == '') {
$data[$i]['value'] = '0'; $data[$i]['value'] = '0';
} }
$data[$i]['value'] = str_replace(',' , '.', $data[$i]['value']);
} }
//COLUMN //COLUMN
$data[$i]['column'] = strtolower($data[$i]['column']); $data[$i]['column'] = strtolower($data[$i]['column']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment