Skip to content
Snippets Groups Projects
Commit 193a5618 authored by Cyril Vazquez's avatar Cyril Vazquez
Browse files

FIX # Protect strings on prepareStorage - instanciate dbQuery

parent c6bed6b4
No related branches found
No related tags found
No related merge requests found
......@@ -260,6 +260,7 @@ class resources_controler
$typistFound = false;
$typeIdFound = false;
$toAddressFound = false;
$dbQuery = new dbquery();
for ($i=0;$i<count($data);$i++) {
if (strtoupper($data[$i]['type']) == 'INTEGER' || strtoupper($data[$i]['type']) == 'FLOAT') {
if ($data[$i]['value'] == '') {
......
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