Fixed bug #4455: pid reset to 10000 in Constant Editor
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Sun, 25 May 2008 11:47:45 +0000 (11:47 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Sun, 25 May 2008 11:47:45 +0000 (11:47 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3716 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tsparser_ext.php

index 1e7c952..1df83da 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-05-25  Dmitry Dulepov  <dmitry@typo3.org>                                                                                                        
+                                                                                                                                                      
+    * Fixed bug #4455: pid reset to 10000 in Constant Editor                                                                                          
+       
 2008-05-24  Oliver Hader  <oliver@typo3.org>
 
        * Set TYPO3 version to 4.3-dev and cleaned up NEWS.txt
index 173f33b..768a861 100755 (executable)
@@ -1568,8 +1568,8 @@ class t3lib_tsparser_ext extends t3lib_TStemplate {
                                                                }
                                                        break;
                                                        case 'int+':
-                                                               $var=t3lib_div::intInRange($var,0,10000);
-                                                       break;
+                                                               $var = max(0, intval($var));
+                                                               break;
                                                        case 'color':
                                                                $col=array();
                                                                if($var && !t3lib_div::inList($this->HTMLcolorList,strtolower($var)))   {