aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Profiles.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-12 18:15:12 -0700
committerzotlabs <mike@macgirvin.com>2016-10-12 18:15:12 -0700
commit9bb847bb07ec017eb8e2ebb2764b7e34acf5e619 (patch)
tree801e83538f88a96966887a31dd7c10eb951c93e5 /Zotlabs/Module/Profiles.php
parent40bfce463d13a82a30ae590d650b916a051b8d31 (diff)
downloadvolse-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 'Zotlabs/Module/Profiles.php')
-rw-r--r--Zotlabs/Module/Profiles.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Profiles.php b/Zotlabs/Module/Profiles.php
index 4cb8e7395..6f76cd1cf 100644
--- a/Zotlabs/Module/Profiles.php
+++ b/Zotlabs/Module/Profiles.php
@@ -119,9 +119,9 @@ class Profiles extends \Zotlabs\Web\Controller {
dbesc_array($r1[0]);
- $r2 = dbq("INSERT INTO profile (`"
- . implode("`, `", array_keys($r1[0]))
- . "`) VALUES ('"
+ $r2 = dbq("INSERT INTO profile (" . TQUOT
+ . implode(TQUOT . ", " . TQUOT, array_keys($r1[0]))
+ . TQUOT . ") VALUES ('"
. implode("', '", array_values($r1[0]))
. "')" );