Commit 63e91b0a authored by Gábor Hojtsy's avatar Gábor Hojtsy

#192406 follow up by JirkaRybka: fix missing textgroup by using the default...

#192406 follow up by JirkaRybka: fix missing textgroup by using the default text group for PO imports when otherwise not instructed
parent 59312988
......@@ -1000,7 +1000,7 @@ function _locale_import_po($file, $langcode, $mode, $group = NULL) {
* @param $group
* Text group to import PO file into (eg. 'default' for interface translations)
*/
function _locale_import_read_po($op, $file, $mode = NULL, $lang = NULL, $group = NULL) {
function _locale_import_read_po($op, $file, $mode = NULL, $lang = NULL, $group = 'default') {
$fd = fopen($file->filepath, "rb"); // File will get closed by PHP on return
if (!$fd) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment