Skip to content
This repository
Browse code

Fixed incorrect ife() conversion. Thanks SkieDr.

  • Loading branch information...
commit d8468c1a38095bc24971ea848c0655b778af1390 1 parent cd6c370
Graham Weldon authored September 16, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  lib/Cake/Console/Command/UpgradeShell.php
4  lib/Cake/Console/Command/UpgradeShell.php
@@ -296,9 +296,9 @@ public function basics() {
296 296
 				'echo \1'
297 297
 			),
298 298
 			array(
299  
-				'ife(*, *, *) -> empty(*) ? * : *',
  299
+				'ife(*, *, *) -> !empty(*) ? * : *',
300 300
 				'/ife\((.*), (.*), (.*)\)/',
301  
-				'empty(\1) ? \2 : \3'
  301
+				'!empty(\1) ? \2 : \3'
302 302
 			),
303 303
 			array(
304 304
 				'r(*, *, *) -> str_replace(*, *, *)',

0 notes on commit d8468c1

Please sign in to comment.
Something went wrong with that request. Please try again.