[Typo3-dev] changed behaviour of type-conversion PHP4->PHP5?
    Peter Niederlag 
    niederlag at ikd01.de
       
    Mon Dec  5 14:29:14 CET 2005
    
    
  
Hi,
thx for your suggestion/feedback.
Martin Kutschker schrieb:
[...]
> Change to
> 
> if ($level == 'true') {
>   $this->level = $this->get_complevel();
> } else {
>   $this->level = intval($level);
> }
OK, I'll go that way but as soon as the Install-Tool/Config-Vars deliver
 type-safe values(*) it would be a true integer (not a
string-encapsulated integer) and then it probably would fail again,
cause the check is not strict.
Anayway, for now I'll pepare and submit a patch like Elmar suggested.
Thx,
Peter
(*) They should eventually, shouldn't they?
-- 
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
http://www.typo3partner.net * professional services network *
    
    
More information about the TYPO3-dev
mailing list