From: Roland Häder Date: Thu, 15 Dec 2016 09:11:25 +0000 (+0100) Subject: Convention: SQL keywords all upper-case, columns and table names (better) lower-cased... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a126db451ce1583640a4eba581d37967e86f5a87;p=friendica.git Convention: SQL keywords all upper-case, columns and table names (better) lower-cased and always in back-ticks. Signed-off-by: Roland Häder --- diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 7525f8389f..236970a2e9 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -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),