poco: Only update the global contacts when there is a network value/Export your own contact as well
This commit is contained in:
parent
105d6a22a4
commit
bc2c046446
3 changed files with 18 additions and 16 deletions
|
@ -46,8 +46,8 @@ function poco_init(&$a) {
|
|||
|
||||
if($justme)
|
||||
$sql_extra = " AND `contact`.`self` = 1 ";
|
||||
else
|
||||
$sql_extra = " AND `contact`.`self` = 0 ";
|
||||
// else
|
||||
// $sql_extra = " AND `contact`.`self` = 0 ";
|
||||
|
||||
if($cid)
|
||||
$sql_extra = sprintf(" AND `contact`.`id` = %d ",intval($cid));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue