* [FIX] Fixed wrong behavior when analyzing an array from a request.

* [ADD] Added SQL logging when debug is enabled.
This commit is contained in:
nuxsmin
2018-07-12 01:24:52 +02:00
parent 1cccd52c85
commit 5ea930c0bc
3 changed files with 9 additions and 3 deletions

View File

@@ -336,7 +336,7 @@ class Request
}
return array_map(function ($value) {
return is_numeric($value) ? $this->analyzeInt($value) : $this->analyzeString($value);
return is_numeric($value) ? Filter::getInt($value) : Filter::getString($value);
}, $this->params->get($param));
}