Permalink
Browse files

Fixed incorrect ife() conversion. Thanks SkieDr.

  • Loading branch information...
1 parent cd6c370 commit d8468c1a38095bc24971ea848c0655b778af1390 @predominant predominant committed Sep 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Console/Command/UpgradeShell.php
@@ -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(*, *, *)',

0 comments on commit d8468c1

Please sign in to comment.