From 9d5e9720132b9512c64d9bddb8c9d8763cf9cec1 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 19 Jan 2015 20:36:13 -0800 Subject: [PATCH] poco rating variable getting over-written before local storage. --- include/socgraph.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/socgraph.php b/include/socgraph.php index 0cdf43ec7..09439b605 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -120,7 +120,7 @@ function poco_load($xchan = '',$url = null) { $name = $entry['displayName']; $hash = $entry['hash']; $rating = ((array_key_exists('rating',$entry)) ? intval($entry['rating']) : 0); - $rating = ((array_key_exists('rating_text',$entry)) ? escape_tags($entry['rating_text']) :''); + $rating_text = ((array_key_exists('rating_text',$entry)) ? escape_tags($entry['rating_text']) :''); if(x($entry,'urls') && is_array($entry['urls'])) { foreach($entry['urls'] as $url) {