fix DOS linefeeds
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Tue, 19 Apr 2005 16:28:43 +0000 (16:28 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Tue, 19 Apr 2005 16:28:43 +0000 (16:28 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@665 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_div.php

index 5e80e5c..243aba4 100755 (executable)
@@ -687,8 +687,9 @@ class t3lib_div {
                while(list(,$item)=each($items))        {
                        $range = explode('-',$item);
                        if (isset($range[1]))   {
-                               for ($n=$range[0]; $n<=$range[1]; $n++)
+                               for ($n=$range[0]; $n<=$range[1]; $n++) {
                                        $list[] = $n;
+                               }
                        } else {
                                $list[] = $item;
                        }