Update User\UpdateCountTopics
This commit is contained in:
parent
6272bcdbde
commit
6acd480471
1 changed files with 2 additions and 2 deletions
|
@ -35,10 +35,10 @@ class UpdateCountTopics extends Action
|
|||
}
|
||||
}
|
||||
// темы гостя не считаем
|
||||
unset($ids[1]);
|
||||
unset($ids[0]); // ????
|
||||
|
||||
if (empty($ids)) {
|
||||
$where = 'u.id != 1';
|
||||
$where = 'u.id > 0';
|
||||
$vars = [];
|
||||
} else {
|
||||
$where = 'u.id IN (?ai:ids)';
|
||||
|
|
Loading…
Add table
Reference in a new issue