Skip to content
Snippets Groups Projects
Commit aabbf134 authored by Jean-Laurent DUZANT's avatar Jean-Laurent DUZANT
Browse files

FIX #17671 TIME 1:10 remove fix

parent 55357e51
No related branches found
No related tags found
No related merge requests found
...@@ -134,7 +134,7 @@ class SearchController ...@@ -134,7 +134,7 @@ class SearchController
$canPurge = true; $canPurge = true;
} }
$where = [implode(' OR ', $where)]; $where = !empty($where) ? [implode(' OR ', $where)] : [];
$documents = DocumentModel::get([ $documents = DocumentModel::get([
'select' => $select, 'select' => $select,
......
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