aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-09 16:31:04 -0700
committerzotlabs <mike@macgirvin.com>2016-10-09 16:31:04 -0700
commite7233c0c94d0464994df94d8907518d49fcb0650 (patch)
treeface7f2e2c8b6212349e769f6c552138006e1f1e /include/channel.php
parent2bdf135cbcf6208a4c2400d846b2fbffd8ae2c6b (diff)
downloadvolse-hubzilla-e7233c0c94d0464994df94d8907518d49fcb0650.tar.gz
volse-hubzilla-e7233c0c94d0464994df94d8907518d49fcb0650.tar.bz2
volse-hubzilla-e7233c0c94d0464994df94d8907518d49fcb0650.zip
more backquotes - this should take care of most except for the array import queries
Diffstat (limited to 'include/channel.php')
-rw-r--r--include/channel.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/channel.php b/include/channel.php
index 189748d09..4dd356785 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -540,7 +540,7 @@ function identity_basic_export($channel_id, $items = false) {
$ret['hubloc'] = $r;
}
- $r = q("select * from `groups` where uid = %d ",
+ $r = q("select * from groups where uid = %d ",
intval($channel_id)
);
@@ -903,7 +903,7 @@ function profile_load($nickname, $profile = '') {
// fetch user tags if this isn't the default profile
if(! $p[0]['is_default']) {
- $x = q("select `keywords` from `profile` where uid = %d and `is_default` = 1 limit 1",
+ $x = q("select keywords from profile where uid = %d and is_default = 1 limit 1",
intval($p[0]['profile_uid'])
);
if($x && $can_view_profile)