1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

Merge pull request #7 from rica-carv/rica-carv-erro-fix-banner_shortcode

Error fix
This commit is contained in:
rica-carv
2016-04-19 13:22:26 +01:00

View File

@@ -96,9 +96,9 @@ class banner_shortcodes extends e_shortcode
break;
}
$text = "<a class='e-tip' href='".e_HTTP.'banner.php?'.$row['banner_id']."' rel='external' title=\"".$tp->toAttribute(varset($row['banner_tooltip'],''))."\">";
$text .= $ban_ret;
$text .= '</a>';
$start = "<a class='e-tip' href='".e_HTTP.'banner.php?'.$row['banner_id']."' rel='external' title=\"".$tp->toAttribute(varset($row['banner_tooltip'],''))."\">";
$end = '</a>';
$text = $start.$ban_ret.$end;
if(!empty($row['banner_description']))
{