remove the rest of the backticks from sql queries; replace with TQUOT const which is driver dependent

This commit is contained in:
zotlabs
2016-10-12 18:15:12 -07:00
parent 40bfce463d
commit 9bb847bb07
8 changed files with 141 additions and 132 deletions

View File

@@ -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]))
. "')" );