Fixed incorrect ife() conversion. Thanks SkieDr.

This commit is contained in:
Graham Weldon 2011-09-16 00:34:39 +10:00
parent cd6c370dd9
commit d8468c1a38

View file

@ -296,9 +296,9 @@ class UpgradeShell extends Shell {
'echo \1'
),
array(
'ife(*, *, *) -> empty(*) ? * : *',
'ife(*, *, *) -> !empty(*) ? * : *',
'/ife\((.*), (.*), (.*)\)/',
'empty(\1) ? \2 : \3'
'!empty(\1) ? \2 : \3'
),
array(
'r(*, *, *) -> str_replace(*, *, *)',