poco: Only update the global contacts when there is a network value/Export your own contact as well

This commit is contained in:
Michael Vogel 2015-01-25 16:40:20 +01:00
commit bc2c046446
3 changed files with 18 additions and 16 deletions

View file

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