aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-19 20:36:13 -0800
committerfriendica <info@friendica.com>2015-01-19 20:36:13 -0800
commit9d5e9720132b9512c64d9bddb8c9d8763cf9cec1 (patch)
tree0f6febf819874a0de344c483fe092feccb744332
parente3041b80fd28d88b5f9ba063cb8147b9b0a61668 (diff)
downloadvolse-hubzilla-9d5e9720132b9512c64d9bddb8c9d8763cf9cec1.tar.gz
volse-hubzilla-9d5e9720132b9512c64d9bddb8c9d8763cf9cec1.tar.bz2
volse-hubzilla-9d5e9720132b9512c64d9bddb8c9d8763cf9cec1.zip
poco rating variable getting over-written before local storage.
-rw-r--r--include/socgraph.php2
1 files changed, 1 insertions, 1 deletions
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) {