From 2d72041f792adcc444c7c3df1c1b457ac1543e56 Mon Sep 17 00:00:00 2001 From: Susanne Moog Date: Mon, 11 Jul 2011 22:21:52 +0200 Subject: [PATCH] [TASK] Refactor core usages of testInt, calcPriority, calcParenthesis As testInt, calcPriority and calcParenthesis were moved and renamed to t3lib_utility_Math we have to change the core usages, too. Change-Id: Ia828ffbdf92dc72d35a1d3f5919869d043e3bb83 Depends: #28064 Resolves: #28096 Reviewed-on: http://review.typo3.org/3260 Reviewed-by: Xavier Perseguers Tested-by: Xavier Perseguers Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn --- view/class.tx_feedit_editpanel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/class.tx_feedit_editpanel.php b/view/class.tx_feedit_editpanel.php index cc517bd..0653084 100644 --- a/view/class.tx_feedit_editpanel.php +++ b/view/class.tx_feedit_editpanel.php @@ -240,7 +240,7 @@ class tx_feedit_editpanel { $out = $this->editPanelLinkWrap_doWrap($string, $adminURL . 'db_new.php?id=' . $rParts[1] . '&pagesOnly=1', $currentRecord); } else { if (!intval($nPid)) { - $nPid = t3lib_div::testInt($rParts[1]) ? -$rParts[1] : $GLOBALS['TSFE']->id; + $nPid = t3lib_utility_Math::canBeInterpretedAsInteger($rParts[1]) ? -$rParts[1] : $GLOBALS['TSFE']->id; } $out = $this->editPanelLinkWrap_doWrap($string, $adminURL . 'alt_doc.php?edit[' . $rParts[0] . '][' . $nPid . ']=new&noView=' . $nV, $currentRecord); }