[+FEATURE] Reimplemented stdWrap for term (use termStdWrap in type defintion).
authorjocrau <jocrau@735d13b6-9817-0410-8766-e36946ffe9aa>
Sat, 8 Jan 2011 16:46:31 +0000 (16:46 +0000)
committerBastian Bringenberg <spam@bastian-bringenberg.de>
Thu, 4 Dec 2014 23:56:08 +0000 (00:56 +0100)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/contagged/trunk@41906 735d13b6-9817-0410-8766-e36946ffe9aa

class.tx_contagged.php

index ff4f877..184e451 100644 (file)
@@ -145,6 +145,7 @@ class tx_contagged extends tslib_pibase {
                if ($typeConfigArray['termIsRegEx'] > 0) {
                        $regEx = $termArray['term_main'].$this->conf['modifier'];
                } else {
+                       $term = $this->cObj->stdWrap($term, $typeConfigArray['termStdWrap.']);
                        if (strstr($this->conf['modifier'], 'u') !== FALSE) {
                                $regEx = '/(?<=\P{L}|^)' . preg_quote($term,'/') . '(?=\P{L}|$)/' . $this->conf['modifier'];
                        } else {