diff --git a/lib/commands/get.pm b/lib/commands/get.pm index acdff131367e80c4531db146706c777c5594d540..0c4c71153c338b921fbaffacd495c2531d7632cb 100644 --- a/lib/commands/get.pm +++ b/lib/commands/get.pm @@ -66,7 +66,7 @@ sub exec { if ($query->is_global) { $req = 'select id, sender, title, url, duration - from playbot + from playbot p where '.$where; $req .= ' and '.$words_sql if ($words_sql); $req .= ' group by id