if pre-existing relationship, don't set duplex
This commit is contained in:
parent
76b5e984e1
commit
70bcf000e3
|
@ -238,6 +238,9 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
|
|||
if(($relation == REL_FAN) || ($duplex))
|
||||
$new_relation = REL_BUD;
|
||||
|
||||
if(($relation == REL_FAN) && ($duplex))
|
||||
$duplex = 0;
|
||||
|
||||
$r = q("UPDATE `contact` SET `photo` = '%s',
|
||||
`thumb` = '%s',
|
||||
`micro` = '%s',
|
||||
|
@ -455,6 +458,9 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
|
|||
if(($relation == REL_VIP) || ($duplex))
|
||||
$new_relation = REL_BUD;
|
||||
|
||||
if(($relation == REL_VIP) && ($duplex))
|
||||
$duplex = 0;
|
||||
|
||||
$r = q("UPDATE `contact` SET
|
||||
`photo` = '%s',
|
||||
`thumb` = '%s',
|
||||
|
|
Loading…
Reference in a new issue