Commit 814b9f7f authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic
Browse files

Bug 1681629: Fix error when searching for tagged collections

Change-Id: I0e0f5de1d28047d1926f4b944a41768fb8dd73ae
behatnotneeded: no new functionality
parent 703af39e
......@@ -5358,7 +5358,7 @@ class View {
}
}
}
if ($gettags) {
if ($gettags && !empty($viewidlist)) {
$tags = get_records_select_array('view_tag', 'view IN (' . $viewidlist . ')');
if ($tags) {
foreach ($tags as &$tag) {
......
Supports Markdown
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