Skip to content
Snippets Groups Projects
Verified Commit 3c6896b0 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #10387 TIME 0:05 canConvert strtoupper

parent ed91c518
No related branches found
No related tags found
No related merge requests found
......@@ -194,7 +194,7 @@ class ConvertPdfController
$loadedXml = CoreConfigModel::getXmlLoaded(['path' => 'apps/maarch_entreprise/xml/extensions.xml']);
if ($loadedXml) {
foreach ($loadedXml->FORMAT as $value) {
if ((string)$value->name == strtoupper($args['extension']) && (string)$value->index_frame_show == 'true') {
if (strtoupper((string)$value->name) == strtoupper($args['extension']) && (string)$value->index_frame_show == 'true') {
$canConvert = true;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment