mirror of
https://github.com/friendica/friendica
synced 2025-04-24 07:10:11 +00:00
Rename DBA::esc_array to DBA::escapeArray
- Rename internal method DBA::esc_array_callback to DBA::escapeArrayCallback
This commit is contained in:
parent
ecea7425f8
commit
aa26943f92
2 changed files with 5 additions and 5 deletions
|
@ -129,7 +129,7 @@ function dfrn_request_post(App $a)
|
|||
$photo = $parms["photo"];
|
||||
|
||||
// Escape the entire array
|
||||
DBA::esc_array($parms);
|
||||
DBA::escapeArray($parms);
|
||||
|
||||
// Create a contact record on our site for the other person
|
||||
$r = q("INSERT INTO `contact` ( `uid`, `created`,`url`, `nurl`, `addr`, `name`, `nick`, `photo`, `site-pubkey`,
|
||||
|
@ -371,7 +371,7 @@ function dfrn_request_post(App $a)
|
|||
$parms['issued-id'] = $issued_id;
|
||||
$photo = $parms["photo"];
|
||||
|
||||
DBA::esc_array($parms);
|
||||
DBA::escapeArray($parms);
|
||||
$r = q("INSERT INTO `contact` ( `uid`, `created`, `url`, `nurl`, `addr`, `name`, `nick`, `issued-id`, `photo`, `site-pubkey`,
|
||||
`request`, `confirm`, `notify`, `poll`, `poco`, `network`, `blocked`, `pending` )
|
||||
VALUES ( %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d )",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue