Fixed bug #9194: Bug: wrong handling of 'is_in' list in TCA element type 'input'...
authorBenni Mack <benni.mack@typo3.org>
Thu, 8 Jan 2009 15:33:34 +0000 (15:33 +0000)
committerBenni Mack <benni.mack@typo3.org>
Thu, 8 Jan 2009 15:33:34 +0000 (15:33 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@4666 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tcemain.php

index 3d028ed..ada9080 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-08  Benjamin Mack  <benni@typo3.org>
+
+       * Fixed bug #9194: Bug: wrong handling of 'is_in' list in TCA element type 'input' (Thanks to Vladimir Podkovanov)
+
 2009-01-07  Francois Suter <francois@typo3.org>
 
        * Fixed bug #10075: Rootline cache does not work in multilingual websites
index ce7bf65..4a7fcd5 100755 (executable)
@@ -2054,7 +2054,7 @@ class t3lib_TCEmain       {
                                                $newVal = '';
                                                for ($a=0;$a<$c;$a++)   {
                                                        $char = substr($value,$a,1);
-                                                       if (strstr($is_in,$char))       {
+                                                       if (strpos($is_in, $char) !== false) {
                                                                $newVal.=$char;
                                                        }
                                                }