set the correct language tag expected by JS (typo fix)

This commit is contained in:
Andras Timar 2017-01-18 10:16:34 +01:00
parent b565415e1c
commit e5eb15cbc5

View File

@ -239,7 +239,7 @@ class DocumentController extends Controller {
'fileid' => $info['fileid'] . '_' . $this->settings->getSystemValue('instanceid'), 'fileid' => $info['fileid'] . '_' . $this->settings->getSystemValue('instanceid'),
'urlsrc' => $ret['urlsrc'], 'urlsrc' => $ret['urlsrc'],
'action' => $ret['action'], 'action' => $ret['action'],
'lolang' => $lolang; 'lolang' => $lolang,
'data' => \OCA\Files\Helper::formatFileInfo($info) 'data' => \OCA\Files\Helper::formatFileInfo($info)
); );
} else { } else {