Page MenuHomePhorge

D2122.1775773024.diff
No OneTemporary

Authored By
Unknown
Size
469 B
Referenced Files
None
Subscribers
None

D2122.1775773024.diff

diff --git a/lib/file_locale.php b/lib/file_locale.php
--- a/lib/file_locale.php
+++ b/lib/file_locale.php
@@ -93,6 +93,14 @@
}
}
+ //Fall back to just return the language identifier for reuse by the editor
+ if (!empty($langs)) {
+ $lang = explode(';', $langs[0]);
+ $lang = $lang[0];
+ $lang = str_replace('-', '_', $lang);
+ return $lang;
+ }
+
return null;
}

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 9, 10:17 PM (3 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18853222
Default Alt Text
D2122.1775773024.diff (469 B)

Event Timeline