diff options
author | Christian Schneider | 2007-05-31 15:00:12 +0000 |
---|---|---|
committer | Christian Schneider | 2007-05-31 15:00:12 +0000 |
commit | 9c10266b0756400cb81e1438255c7984e50caf73 (patch) | |
tree | 4b5aaedfe82227f66c4b922ed76128e22b5d2489 | |
parent | d4f1cdd77775a1af2139d82207d6ed0248b860a5 (diff) | |
download | itools-9c10266b0756400cb81e1438255c7984e50caf73.tar.gz itools-9c10266b0756400cb81e1438255c7984e50caf73.tar.bz2 itools-9c10266b0756400cb81e1438255c7984e50caf73.zip |
Fix keyword sanitation bug from rewrite
-rw-r--r-- | banner/banner.class | 2 |
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=", |