aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dirsearch.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-03-03 21:00:42 -0800
committerfriendica <info@friendica.com>2014-03-03 21:00:42 -0800
commit3d49bf0320cd6a35e34da9694d3eb957053845a3 (patch)
tree203e3d7f773231b15252806220110bb3ce9cf985 /mod/dirsearch.php
parentcdd2e9cd953394adfd6331c946466f3165606e29 (diff)
downloadvolse-hubzilla-3d49bf0320cd6a35e34da9694d3eb957053845a3.tar.gz
volse-hubzilla-3d49bf0320cd6a35e34da9694d3eb957053845a3.tar.bz2
volse-hubzilla-3d49bf0320cd6a35e34da9694d3eb957053845a3.zip
directory sync issues
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r--mod/dirsearch.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php
index 59a1d448d..7b83b8a46 100644
--- a/mod/dirsearch.php
+++ b/mod/dirsearch.php
@@ -159,7 +159,12 @@ function dirsearch_content(&$a) {
);
if($r) {
foreach($r as $rr) {
- $flags = (($rr['ud_flags'] & UPDATE_FLAGS_DELETED) ? array('deleted') : array());
+ $flags = array();
+ if($rr['ud_flags'] & UPDATE_FLAGS_DELETED)
+ $flags[] = 'deleted';
+ if($rr['ud_flags'] & UPDATE_FLAGS_FORCED)
+ $flags[] = 'forced';
+
$spkt['transactions'][] = array(
'hash' => $rr['ud_hash'],
'address' => $rr['ud_addr'],