From 643a3ea86b669ed7b1aa596c4996a1b8c137bfc8 Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 7 Aug 2007 20:17:11 +0000 Subject: [PATCH] --- lib/Doctrine/Tokenizer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Doctrine/Tokenizer.php b/lib/Doctrine/Tokenizer.php index 0b03c7ec9..7e1773aa6 100644 --- a/lib/Doctrine/Tokenizer.php +++ b/lib/Doctrine/Tokenizer.php @@ -291,11 +291,11 @@ class Doctrine_Tokenizer continue; } if (empty($term[$i])) { - $term[$i] = trim($val); + $term[$i] = $val; } else { - $term[$i] .= $str[($key + 1)] . trim($val); + $term[$i] .= $str[($key - 1)] . $val; } - + $c1 = substr_count($term[$i], $e1); $c2 = substr_count($term[$i], $e2);