add missing query backticks

This commit is contained in:
Fabrixxm 2016-02-08 14:35:41 +01:00
parent 9ff0fc92dd
commit 2a016e7685

View file

@ -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())
);