summaryrefslogtreecommitdiff
path: root/banner
diff options
context:
space:
mode:
authorChristian Schneider2007-05-31 15:00:12 +0000
committerChristian Schneider2007-05-31 15:00:12 +0000
commit9c10266b0756400cb81e1438255c7984e50caf73 (patch)
tree4b5aaedfe82227f66c4b922ed76128e22b5d2489 /banner
parentd4f1cdd77775a1af2139d82207d6ed0248b860a5 (diff)
downloaditools-9c10266b0756400cb81e1438255c7984e50caf73.tar.gz
itools-9c10266b0756400cb81e1438255c7984e50caf73.tar.bz2
itools-9c10266b0756400cb81e1438255c7984e50caf73.zip
Fix keyword sanitation bug from rewrite
Diffstat (limited to 'banner')
-rw-r--r--banner/banner.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/banner/banner.class b/banner/banner.class
index b0b241a..23dbc3d 100644
--- a/banner/banner.class
+++ b/banner/banner.class
@@ -218,7 +218,7 @@ function render_banner($banner, $nocount = false)
$pathinfo = "/c=" . $banner['campaignid'] . ":" . urlencode($banner['campaignname']) . "/b=" . $banner['bannerid'] . ":" . urlencode($banner['bannername']) . "/l=" . urlencode($l);
$nocountinfo = $nocount ? "/nocount=1" : "";
- $keyword = it::replace('<country_[^>]*>' => "", '\]\[' => "", '^\[ +' => "", ' +\]$' => "", $this->p['keyword']);
+ $keyword = it::replace('<country_[^>]*>' => "", '\]\[' => " ", '^\[ +' => "", ' +\]$' => "", $this->p['keyword']);
$vars = array(
'viewpre' => $this->p['server'] . "view.html$pathinfo$nocountinfo/img=",
'clickpre' => $this->p['server'] . "click.html$pathinfo/url=",