From 9c10266b0756400cb81e1438255c7984e50caf73 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Thu, 31 May 2007 15:00:12 +0000 Subject: Fix keyword sanitation bug from rewrite --- banner/banner.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(']*>' => "", '\]\[' => "", '^\[ +' => "", ' +\]$' => "", $this->p['keyword']); + $keyword = it::replace(']*>' => "", '\]\[' => " ", '^\[ +' => "", ' +\]$' => "", $this->p['keyword']); $vars = array( 'viewpre' => $this->p['server'] . "view.html$pathinfo$nocountinfo/img=", 'clickpre' => $this->p['server'] . "click.html$pathinfo/url=", -- cgit v1.2.3