]> git.mxchange.org Git - friendica-addons.git/blobdiff - gpluspost/gpluspost.php
gpluspost: Showing a "recycle" sign when displaying repeated items.
[friendica-addons.git] / gpluspost / gpluspost.php
index 7c69f2c6488b540ba020eea7a481d4259420fc9f..76cf237bac0179f956835bac19132433f48117c9 100644 (file)
@@ -99,7 +99,7 @@ function gpluspost_post_local(&$a,&$b) {
 
        $enable = (($post && x($_REQUEST,'gpluspost_enable')) ? intval($_REQUEST['gpluspost_enable']) : 0);
 
-       if(intval(get_pconfig(local_user(),'gpluspost','post_by_default')))
+       if($_REQUEST['api_source'] && intval(get_pconfig(local_user(),'gpluspost','post_by_default')))
                $enable = 1;
 
        if(!$enable)
@@ -216,7 +216,7 @@ function gpluspost_ShareAttributes($match) {
 
         //$text = "<br />".$headline."</strong><blockquote>".$match[2]."</blockquote>";
        //$text = "\n\t".$match[2].":\t";
-       $text = $author.": ".$match[2];
+       $text = html_entity_decode("&#x2672; ", ENT_QUOTES, 'UTF-8').$author.": ".$match[2];
 
         return($text);
 }