aboutsummaryrefslogtreecommitdiffstats
path: root/include/socgraph.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/socgraph.php')
-rw-r--r--include/socgraph.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/socgraph.php b/include/socgraph.php
index 0cdf43ec7..15ef480f6 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) {
@@ -215,6 +215,8 @@ function poco_load($xchan = '',$url = null) {
dbesc($xchan),
db_utcnow(), db_quoteinterval('2 DAY')
);
+
+
}