[BUGFIX] t3lib_TCEforms is calling deprecated method t3lib_div::testInt()
authorXavier Perseguers <typo3@perseguers.ch>
Fri, 22 Jul 2011 15:09:22 +0000 (17:09 +0200)
committerXavier Perseguers <typo3@perseguers.ch>
Sun, 24 Jul 2011 10:04:17 +0000 (12:04 +0200)
As testInt, calcPriority and calcParenthesis were moved and renamed to
t3lib_utility_Math we have to change the core usages, too.

Change-Id: I13892a7d81fce116b771b75a099dc83342997cd8
Fixes: #28398
Related: #28096
Reviewed-on: http://review.typo3.org/3476
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
t3lib/class.t3lib_tceforms.php

index 175a28d..4493abf 100644 (file)
@@ -3843,7 +3843,7 @@ class t3lib_TCEforms {
                                                case 'popup':
                                                case 'colorbox':
                                                case 'slider':
-                                                       if (!$wConf['notNewRecords'] || t3lib_div::testInt($row['uid'])) {
+                                                       if (!$wConf['notNewRecords'] || t3lib_utility_Math::canBeInterpretedAsInteger($row['uid'])) {
 
                                                                        // Setting &P array contents:
                                                                $params = array();