Commit 1a2f4c2a authored by Guinness's avatar Guinness Committed by Okhin

Also match on user id

parent 16e3be0d
......@@ -40,7 +40,7 @@ class UserFinder
$params = [];
if ('' !== $text) {
$query .= " AND (pseudo LIKE :text OR email LIKE :text)";
$query .= " AND (pseudo LIKE :text OR email LIKE :text OR id LIKE :text)";
$params['text'] = "%$text%";
Markdown is supported
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