From 610c223cb823f2b16df3e1f49912e8ef42dc6bd7 Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 14 Nov 2013 23:22:26 +1100 Subject: [PATCH] Minor update --- classes/lnApp/Sort.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/lnApp/Sort.php b/classes/lnApp/Sort.php index e5d6bcb..365a483 100644 --- a/classes/lnApp/Sort.php +++ b/classes/lnApp/Sort.php @@ -35,7 +35,7 @@ abstract class lnApp_Sort { $code .= 'if (is_array($'.$x.'->'.$key.')) {'; $code .= 'asort($'.$x.'->'.$key.');'; $code .= '$x'.$x.' = array_shift($'.$x.'->'.$key.');'; - $code .= '} else'; + $code .= '} else '; $code .= '$x'.$x.' = $'.$x.'->'.$key.';'; } @@ -60,7 +60,7 @@ abstract class lnApp_Sort { $code .= 'if (is_array($'.$x.'[\''.$key.'\'])) {'; $code .= 'asort($'.$x.'[\''.$key.'\']);'; $code .= '$x'.$x.' = array_shift($'.$x.'[\''.$key.'\']);'; - $code .= '} else'; + $code .= '} else '; $code .= '$x'.$x.' = $'.$x.'[\''.$key.'\'];'; }