aboutsummaryrefslogtreecommitdiffstats
path: root/mod/poco.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-15 20:43:53 -0800
committerfriendica <info@friendica.com>2015-01-15 20:43:53 -0800
commit43254029ad376169f20d66711db25e2167f4d062 (patch)
tree618c8460ff89c1d68df3bf0fdfce501cb653bc83 /mod/poco.php
parentdfe31dc3b7a041050203b7c0edfd245b1efc0121 (diff)
downloadvolse-hubzilla-43254029ad376169f20d66711db25e2167f4d062.tar.gz
volse-hubzilla-43254029ad376169f20d66711db25e2167f4d062.tar.bz2
volse-hubzilla-43254029ad376169f20d66711db25e2167f4d062.zip
errors in mod_poco
Diffstat (limited to 'mod/poco.php')
-rw-r--r--mod/poco.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/poco.php b/mod/poco.php
index 892d79801..814c3cfd0 100644
--- a/mod/poco.php
+++ b/mod/poco.php
@@ -178,8 +178,8 @@ function poco_init(&$a) {
if($fields_ret['photos'])
$entry['photos'] = array(array('value' => $rr['xchan_photo_l'], 'mimetype' => $rr['xchan_photo_mimetype'], 'type' => 'profile'));
if($fields_ret['rating']) {
- $entry['rating'] = ((array_key_exists('abook_rating',$rr)) ? intval($rr['abook_rating'])) : 0);
- $entry['rating_text'] = ((array_key_exists('abook_rating_text',$rr)) ? $rr['abook_rating_text'])) : '');
+ $entry['rating'] = ((array_key_exists('abook_rating',$rr)) ? intval($rr['abook_rating']) : 0);
+ $entry['rating_text'] = ((array_key_exists('abook_rating_text',$rr)) ? $rr['abook_rating_text'] : '');
// maybe this should be a composite calculated rating in $system_mode
if($system_mode)
$entry['rating'] = 0;