do not overwrite abook flags if we are not owner

This commit is contained in:
Mario Vavti 2018-02-25 13:00:43 +01:00
parent c618bfc607
commit fed61c082c

View File

@ -44,7 +44,7 @@ class Viewconnections extends \Zotlabs\Web\Controller {
$sql_extra = '';
if(! $is_owner) {
$abook_flags = " and abook_hidden = 0 ";
$abook_flags .= " and abook_hidden = 0 ";
$sql_extra = " and xchan_hidden = 0 ";
}