Convention: SQL keywords all upper-case, columns and table names (better) lower-cased and always in back-ticks.

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-15 10:11:25 +01:00
parent 2eb3727542
commit 2c9d282136

View file

@ -431,7 +431,7 @@ function dfrn_request_post(&$a) {
$hash = random_string(); $hash = random_string();
$r = q("INSERT INTO intro ( uid, `contact-id`, knowyou, note, hash, datetime, blocked ) $r = q("INSERT INTO `intro` ( `uid`, `contact-id`, knowyou, note, hash, datetime, blocked )
VALUES( %d , %d, %d, '%s', '%s', '%s', %d ) ", VALUES( %d , %d, %d, '%s', '%s', '%s', %d ) ",
intval($uid), intval($uid),
intval($contact_id), intval($contact_id),