mirror of
https://github.com/friendica/friendica
synced 2024-12-23 08:40:16 +00:00
add missing query backticks
This commit is contained in:
parent
9ff0fc92dd
commit
2a016e7685
1 changed files with 1 additions and 1 deletions
|
@ -3457,7 +3457,7 @@
|
|||
$nm->setSeen($note);
|
||||
if ($note['otype']=='item') {
|
||||
// would be really better with an ItemsManager and $im->getByID() :-P
|
||||
$r = q("SELECT * FROM item WHERE id=%d AND uid=%d",
|
||||
$r = q("SELECT * FROM `item` WHERE `id`=%d AND `uid`=%d",
|
||||
intval($note['iid']),
|
||||
intval(local_user())
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue