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:
parent
2eb3727542
commit
2c9d282136
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue