fromgplus: Sometimes identical comments were posted above and below a picture.

This commit is contained in:
Michael Vogel 2013-08-24 19:18:47 +02:00
parent 47b8454305
commit a3253a3c85
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ function fromgplus_handleattachments($item, $displaytext) {
elseif ($images["full"] != "")
$post .= "\n[img]".$images["full"]."[/img]\n";
if (($attachment->displayName != "") AND ($attachment->displayName != $displaytext))
if (($attachment->displayName != "") AND (trim($attachment->displayName) != trim(strip_tags($displaytext))))
$post .= fromgplus_html2bbcode($attachment->displayName)."\n";
break;