From: Fabrixxm Date: Mon, 8 Feb 2016 13:35:41 +0000 (+0100) Subject: add missing query backticks X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2a016e7685e76b29641dce09172058f716f4ee4b;p=friendica.git add missing query backticks --- diff --git a/include/api.php b/include/api.php index 16481201e3..d205451e5e 100644 --- a/include/api.php +++ b/include/api.php @@ -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()) );