@@ -118,7 +118,7 @@ |
||
| 118 | 118 | */ |
| 119 | 119 | public function getEnvLang() |
| 120 | 120 | { |
| 121 | - // get language from locale, same as used by gettext, set by Controller |
|
| 122 | - return substr(getenv("LC_ALL"), 0, 2); |
|
| 121 | + // get language from locale, same as used by gettext, set by Controller |
|
| 122 | + return substr(getenv("LC_ALL"), 0, 2); |
|
| 123 | 123 | } |
| 124 | 124 | } |
@@ -72,10 +72,12 @@ |
||
| 72 | 72 | |
| 73 | 73 | uksort($sortable, array($this, 'mycompare')); |
| 74 | 74 | foreach ($sortable as $prop => $vals) { |
| 75 | - if (is_array($prop)) // the ConceptProperty objects have their own sorting methods |
|
| 75 | + if (is_array($prop)) { |
|
| 76 | + // the ConceptProperty objects have their own sorting methods |
|
| 76 | 77 | { |
| 77 | 78 | ksort($sortable[$prop]); |
| 78 | 79 | } |
| 80 | + } |
|
| 79 | 81 | |
| 80 | 82 | } |
| 81 | 83 | |