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.'\'];'; }