mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
* Fix Via parsing
* Use LIKE for real name lookup
This commit is contained in:
parent
84a1f70fc2
commit
b97f96ce18
2 changed files with 8 additions and 6 deletions
|
@ -427,7 +427,7 @@ module.exports = class User {
|
|||
WHERE id = (
|
||||
SELECT user_id
|
||||
FROM user_property
|
||||
WHERE prop_name='real_name' AND prop_value=?
|
||||
WHERE prop_name='real_name' AND prop_value LIKE ?
|
||||
);`,
|
||||
[ realName ],
|
||||
(err, row) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue