Skip to content
Snippets Groups Projects
Commit 7cfe37b5 authored by Peter Rotich's avatar Peter Rotich
Browse files

oops: Bug fix

parent 81b8d9d1
No related branches found
No related tags found
No related merge requests found
...@@ -664,7 +664,7 @@ class Task extends TaskModel implements Threadable { ...@@ -664,7 +664,7 @@ class Task extends TaskModel implements Threadable {
$where2 = ''; $where2 = '';
if(($teams=$staff->getTeams())) if(($teams=$staff->getTeams()))
$where[] = ' ( flags.team_id IN('.implode(',', db_input(array_filter($teams))) $where[] = ' ( task.team_id IN('.implode(',', db_input(array_filter($teams)))
.') AND ' .') AND '
.sprintf('task.flags & %d != 0 ', TaskModel::ISOPEN) .sprintf('task.flags & %d != 0 ', TaskModel::ISOPEN)
.')'; .')';
......
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