From a126db451ce1583640a4eba581d37967e86f5a87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20H=C3=A4der?= Date: Thu, 15 Dec 2016 10:11:25 +0100 Subject: [PATCH] Convention: SQL keywords all upper-case, columns and table names (better) lower-cased and always in back-ticks. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- mod/dfrn_request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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),