Browse Source

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>
pull/3027/head
Roland Häder 5 years ago
parent
commit
2c9d282136
  1. 2
      mod/dfrn_request.php

2
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),

Loading…
Cancel
Save