Skip to content

Commit fe191ab

Browse files
committed
oops fixed loop on the wrong var
1 parent 96bef97 commit fe191ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/Services/LanguageService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static function get_all_languages() {
3838
);
3939

4040
// Add translated languages with proper format
41-
foreach ( $languages as $locale => $translation ) {
41+
foreach ( $translations as $locale => $translation ) {
4242
$formatted_languages[] = array(
4343
'code' => $locale,
4444
'name' => $translation['english_name'],

0 commit comments

Comments
 (0)