Skip to content

Commit

Permalink
Fixed incorrect ife() conversion. Thanks SkieDr.
Browse files Browse the repository at this point in the history
  • Loading branch information
predominant committed Sep 15, 2011
1 parent cd6c370 commit d8468c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Cake/Console/Command/UpgradeShell.php
Expand Up @@ -296,9 +296,9 @@ public function basics() {
'echo \1'
),
array(
'ife(*, *, *) -> empty(*) ? * : *',
'ife(*, *, *) -> !empty(*) ? * : *',
'/ife\((.*), (.*), (.*)\)/',
'empty(\1) ? \2 : \3'
'!empty(\1) ? \2 : \3'
),
array(
'r(*, *, *) -> str_replace(*, *, *)',
Expand Down

0 comments on commit d8468c1

Please sign in to comment.