Code reworks: replaced hardcoded network text with the corresponding constants.
This commit is contained in:
@@ -340,7 +340,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
|
||||
`pending` = 0,
|
||||
`duplex` = %d,
|
||||
`hidden` = %d,
|
||||
`network` = 'dfrn' WHERE `id` = %d
|
||||
`network` = '%s' WHERE `id` = %d
|
||||
",
|
||||
dbesc($photos[0]),
|
||||
dbesc($photos[1]),
|
||||
@@ -351,6 +351,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
|
||||
dbesc(datetime_convert()),
|
||||
intval($duplex),
|
||||
intval($hidden),
|
||||
dbesc(NETWORK_DFRN),
|
||||
intval($contact_id)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user