diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-12 18:15:12 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-12 18:15:12 -0700 |
commit | 9bb847bb07ec017eb8e2ebb2764b7e34acf5e619 (patch) | |
tree | 801e83538f88a96966887a31dd7c10eb951c93e5 /include/zot.php | |
parent | 40bfce463d13a82a30ae590d650b916a051b8d31 (diff) | |
download | volse-hubzilla-9bb847bb07ec017eb8e2ebb2764b7e34acf5e619.tar.gz volse-hubzilla-9bb847bb07ec017eb8e2ebb2764b7e34acf5e619.tar.bz2 volse-hubzilla-9bb847bb07ec017eb8e2ebb2764b7e34acf5e619.zip |
remove the rest of the backticks from sql queries; replace with TQUOT const which is driver dependent
Diffstat (limited to 'include/zot.php')
-rw-r--r-- | include/zot.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php index a214a1b0c..2e02b96e7 100644 --- a/include/zot.php +++ b/include/zot.php @@ -3521,8 +3521,9 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) { if(count($clean)) { foreach($clean as $k => $v) { - $r = dbq("UPDATE profile set `" . dbesc($k) . "` = '" . dbesc($v) - . "' where profile_guid = '" . dbesc($profile['profile_guid']) . "' and uid = " . intval($channel['channel_id'])); + $r = dbq("UPDATE profile set " . TQUOT . dbesc($k) . TQUOT . " = '" . dbesc($v) + . "' where profile_guid = '" . dbesc($profile['profile_guid']) + . "' and uid = " . intval($channel['channel_id'])); } } } |