[Typo3-dev] changed behaviour of type-conversion PHP4->PHP5?
    Elmar Hinz 
    elmar.DOT.hinz at team.MINUS.red.DOT.net
       
    Mon Dec  5 13:34:02 CET 2005
    
    
  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Still little improved:
> Change to
> 
> if ($level == 'true') {
if (strtolower($level) == 'true' || $level === true) {
>   $this->level = $this->get_complevel();
> } else {
>   $this->level = intval($level);
> }
> 
Regards
Elmar
- --
Climate change 2005: Mexico, Guatemala, New Orleans, Sahel, Bangladesh,
Spain, Portugal, Austria, Swiss, France, ...
Production of CO2 is killing people.
Production of CO2 just for fun is killing people just for fun.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDlDO6O976RNoy/18RAvBWAJ9N6PuHY4BCwzmjKjnTpPJBNoi1LQCfYK/S
+Me5qphQH11WTifwGOE/oQw=
=NamO
-----END PGP SIGNATURE-----
    
    
More information about the TYPO3-dev
mailing list