aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-02-25 13:00:43 +0100
committerMario Vavti <mario@mariovavti.com>2018-02-25 13:00:43 +0100
commitfed61c082c8f9d6a7673125bd365d44d4b409fa4 (patch)
treee12cfc97e5553e66c32b412901e5e6553a9458a2 /Zotlabs
parentc618bfc607498998916f01fd9c6985c2ecd47356 (diff)
downloadvolse-hubzilla-fed61c082c8f9d6a7673125bd365d44d4b409fa4.tar.gz
volse-hubzilla-fed61c082c8f9d6a7673125bd365d44d4b409fa4.tar.bz2
volse-hubzilla-fed61c082c8f9d6a7673125bd365d44d4b409fa4.zip
do not overwrite abook flags if we are not owner
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Viewconnections.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Viewconnections.php b/Zotlabs/Module/Viewconnections.php
index e024f1c5a..8366e1325 100644
--- a/Zotlabs/Module/Viewconnections.php
+++ b/Zotlabs/Module/Viewconnections.php
@@ -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 ";
}