Code reworks: replaced hardcoded network text with the corresponding constants.

This commit is contained in:
Michael Vogel
2015-04-11 22:14:56 +02:00
parent dea1b067bd
commit 0e895e24f7
7 changed files with 21 additions and 18 deletions

View File

@@ -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)
);
}