$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)
//$text = "<br />".$headline."</strong><blockquote>".$match[2]."</blockquote>";
//$text = "\n\t".$match[2].":\t";
- $text = $author.": ".$match[2];
+ $text = html_entity_decode("♲ ", ENT_QUOTES, 'UTF-8').$author.": ".$match[2];
return($text);
}