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 f89044ed61
commit a126db451c

View File

@ -431,7 +431,7 @@ function dfrn_request_post(&$a) {
$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 ) ",
intval($uid),
intval($contact_id),