mirror of
https://github.com/FriendsOfTYPO3/feedit.git
synced 2024-11-09 01:16:08 +01:00
[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
This commit is contained in:
parent
89641cd9f3
commit
2d72041f79
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue