diff options
author | marijus <mario@mariovavti.com> | 2014-03-04 14:52:12 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-03-04 14:52:12 +0100 |
commit | ffb791968e48b5699dc99fffccc562f198f86c5d (patch) | |
tree | 4b53eeae5f9236f76f6ba4baee00b0a08adafe50 /mod/dirsearch.php | |
parent | 636a52d001be9bce66f5b2fd7313ffa6540a97e4 (diff) | |
parent | 5b33d98f0814a2fcb23ad78d2442ebecc85d4fb5 (diff) | |
download | volse-hubzilla-ffb791968e48b5699dc99fffccc562f198f86c5d.tar.gz volse-hubzilla-ffb791968e48b5699dc99fffccc562f198f86c5d.tar.bz2 volse-hubzilla-ffb791968e48b5699dc99fffccc562f198f86c5d.zip |
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r-- | mod/dirsearch.php | 7 |
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'], |