Bug #35139
still one testInt() not correctly checked for typo3 4.6
| Status: | Resolved | Start date: | 2012-03-22 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Franz Holzinger | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - | |||
| Has patch: | Yes | |||
| Votes: | 0 |
Description
in class.tx_srfeuserregister_controldata.php
there is one line still without the check for utiltiy_math:
$rc = (t3lib_div::testInt($this->conf['pid']) ? intval($this->conf['pid']) : $TSFE->id);
should be:
$rc = (class_exists('t3lib_utility_Math') ? (t3lib_utility_Math::canBeInterpretedAsInteger($recipient) ? intval($this->conf['pid']) : $TSFE->id) : (t3lib_div::testInt($this->conf['pid']) ? intval($this->conf['pid']) : $TSFE->id));
Associated revisions
- fix Bug #35139: remove testInt for TYPO3 4.6 in function getPid
- fix Bug #35139: remove testInt for TYPO3 4.6 in function getPid
History
Updated by Jan Schreier about 1 year ago
sorry. small error in the "should be" line. this is the fixed one:
$rc = (class_exists('t3lib_utility_Math') ? (t3lib_utility_Math::canBeInterpretedAsInteger($this->conf['pid']) ? intval($this->conf['pid']) : $TSFE->id) : (t3lib_div::testInt($this->conf['pid']) ? intval($this->conf['pid']) : $TSFE->id));
Updated by Franz Holzinger about 1 year ago
- File patch-35139.diff added
- % Done changed from 0 to 100
- Has patch changed from No to Yes
Updated by Stanislas Rolland about 1 year ago
- Status changed from New to Resolved
- Assignee set to Franz Holzinger