aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-02-27 14:54:41 -0800
committerzotlabs <mike@macgirvin.com>2017-02-27 14:54:41 -0800
commit18b22f5f8a7364ef94c51a7cf2f0a1d8b35fc5ad (patch)
tree27f7aed69fc0425bc1f514163de31c093891b498 /Zotlabs
parentd609d2d2ade122aacac6f0dd48249888cb76522a (diff)
downloadvolse-hubzilla-18b22f5f8a7364ef94c51a7cf2f0a1d8b35fc5ad.tar.gz
volse-hubzilla-18b22f5f8a7364ef94c51a7cf2f0a1d8b35fc5ad.tar.bz2
volse-hubzilla-18b22f5f8a7364ef94c51a7cf2f0a1d8b35fc5ad.zip
prep work
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Profiles.php1
-rw-r--r--Zotlabs/Storage/Directory.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Profiles.php b/Zotlabs/Module/Profiles.php
index d6c9d6570..f6e8b11ed 100644
--- a/Zotlabs/Module/Profiles.php
+++ b/Zotlabs/Module/Profiles.php
@@ -785,6 +785,7 @@ class Profiles extends \Zotlabs\Web\Controller {
'$contact' => array('contact', t('Contact information and social networks'), $r[0]['contact']),
'$channels' => array('channels', t('My other channels'), $r[0]['channels']),
'$extra_fields' => $extra_fields,
+ '$comms' => t('Communications'),
'$tel_label' => t('Phone'),
'$email_label' => t('Email'),
'$impp_label' => t('Instant messenger'),
diff --git a/Zotlabs/Storage/Directory.php b/Zotlabs/Storage/Directory.php
index 5d078b04e..51540735c 100644
--- a/Zotlabs/Storage/Directory.php
+++ b/Zotlabs/Storage/Directory.php
@@ -687,7 +687,7 @@ class Directory extends DAV\Node implements DAV\ICollection, DAV\IQuota {
$ret = array();
$r = q("SELECT channel_id, channel_address FROM channel WHERE channel_removed = 0
- AND channel_system = 0 AND NOT (channel_pageflags & %d)>0",
+ AND channel_system = 0 AND (channel_pageflags & %d) = 0",
intval(PAGE_HIDDEN)
);