1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

Update e_shortcode.php

This commit is contained in:
rica-carv
2016-04-19 13:20:47 +01:00
parent 0c4802d246
commit 863bf99657

View File

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