Commit ab8782c7 authored by François Agneray's avatar François Agneray
Browse files

Merge branch 'hotfix-3.2.1' into 'master'

#55 => bug fixed

See merge request !46
parents 2795c1f2 6519b38a
......@@ -284,7 +284,7 @@ final class SearchAction extends AbstractAction
$jsonAttributes = $this->getAttributesOfTypeJson($attributes);
while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) {
foreach ($row as $key => $column) {
if (array_search($key, $jsonAttributes)) {
if (array_search($key, $jsonAttributes) !== false) {
if (!is_null($column)) {
$row[$key] = json_decode($column, true);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment