mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-30 13:13:24 +00:00
[Web] Update libs
This commit is contained in:
48 files changed
+656
-272
No files matched your search
@@ -134,7 +134,7 @@ class XliffFileLoader implements LoaderInterface
|
||||
private function extractXliff2(\DOMDocument $dom, MessageCatalogue $catalogue, string $domain)
|
||||
{
|
||||
$xml = simplexml_import_dom($dom);
|
||||
$encoding = strtoupper($dom->encoding);
|
||||
$encoding = $dom->encoding ? strtoupper($dom->encoding) : null;
|
||||
|
||||
$xml->registerXPathNamespace('xliff', 'urn:oasis:names:tc:xliff:document:2.0');
|
||||
|
||||
|
||||
Reference in new issue
Block a user