diff options
author | friendica <info@friendica.com> | 2015-02-03 18:35:54 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-02-03 18:35:54 -0800 |
commit | 86771547e6d04d046d3beeabb8e4486a59a7fcc6 (patch) | |
tree | ccb63ad0dd92eda830e94295a5111b046d1ecc24 /mod/dirsearch.php | |
parent | 17ffe122b309610208d769f0e2b41f53fcf9d254 (diff) | |
download | volse-hubzilla-86771547e6d04d046d3beeabb8e4486a59a7fcc6.tar.gz volse-hubzilla-86771547e6d04d046d3beeabb8e4486a59a7fcc6.tar.bz2 volse-hubzilla-86771547e6d04d046d3beeabb8e4486a59a7fcc6.zip |
finish off the sync functions
Diffstat (limited to 'mod/dirsearch.php')
-rw-r--r-- | mod/dirsearch.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php index 69b7e2eac..5a0a7cee8 100644 --- a/mod/dirsearch.php +++ b/mod/dirsearch.php @@ -213,11 +213,12 @@ function dirsearch_content(&$a) { dbesc($sync) ); if($r) { - $spkt['rating'] = array(); + $spkt['ratings'] = array(); foreach($r as $rr) { - $spkt['rating'][] = array( + $spkt['ratings'][] = array( 'type' => 'rating', 'encoding' => 'zot', + 'channel' => $rr['xlink_xchan'], 'target' => $rr['xlink_link'], 'rating' => intval($rr['xlink_rating']), 'rating_text' => $rr['xlink_rating_text'], |