aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Tagrm.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-10-03 21:48:53 -0700
committerredmatrix <mike@macgirvin.com>2016-10-03 21:48:53 -0700
commitce6e81c68221a9f462af886626dc02fdfc26f8aa (patch)
tree9975c5271a35e532ee1e48a0e36bd4692945c4a6 /Zotlabs/Module/Tagrm.php
parentc44acb35757700e52db5cc4a7093b8e4624dc3fa (diff)
downloadvolse-hubzilla-ce6e81c68221a9f462af886626dc02fdfc26f8aa.tar.gz
volse-hubzilla-ce6e81c68221a9f462af886626dc02fdfc26f8aa.tar.bz2
volse-hubzilla-ce6e81c68221a9f462af886626dc02fdfc26f8aa.zip
more backticks
Diffstat (limited to 'Zotlabs/Module/Tagrm.php')
-rw-r--r--Zotlabs/Module/Tagrm.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Tagrm.php b/Zotlabs/Module/Tagrm.php
index 42aa6e90f..a6dc21798 100644
--- a/Zotlabs/Module/Tagrm.php
+++ b/Zotlabs/Module/Tagrm.php
@@ -18,7 +18,7 @@ class Tagrm extends \Zotlabs\Web\Controller {
$tag = ((x($_POST,'tag')) ? trim($_POST['tag']) : '');
$item = ((x($_POST,'item')) ? intval($_POST['item']) : 0 );
- $r = q("SELECT * FROM `item` WHERE `id` = %d AND `uid` = %d LIMIT 1",
+ $r = q("SELECT * FROM item WHERE id = %d AND uid = %d LIMIT 1",
intval($item),
intval(local_channel())
);
@@ -67,7 +67,7 @@ class Tagrm extends \Zotlabs\Web\Controller {
$item = intval(argv(2));
$tag = argv(3);
- $r = q("SELECT * FROM `item` WHERE `id` = %d AND `uid` = %d LIMIT 1",
+ $r = q("SELECT * FROM item WHERE id = %d AND uid = %d LIMIT 1",
intval($item),
intval(local_channel())
);
@@ -107,7 +107,7 @@ class Tagrm extends \Zotlabs\Web\Controller {
$item = intval(argv(2));
- $r = q("SELECT * FROM `item` WHERE `id` = %d AND `uid` = %d LIMIT 1",
+ $r = q("SELECT * FROM item WHERE id = %d AND uid = %d LIMIT 1",
intval($item),
intval(local_channel())
);