From: Vincent Vanwaelscappel Date: Wed, 21 Jan 2026 15:36:42 +0000 (+0100) Subject: #7954 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=6c7e97eb8b320dc480a8c878ee0b1282c9f3a2c1;p=fluidbook-toolbox.git #7954 --- diff --git a/app/Fluidbook/Compiler/Accessibility.php b/app/Fluidbook/Compiler/Accessibility.php index 758958c51..f7b091bbf 100644 --- a/app/Fluidbook/Compiler/Accessibility.php +++ b/app/Fluidbook/Compiler/Accessibility.php @@ -179,7 +179,9 @@ trait Accessibility if (file_exists($o)) { $o = file_get_contents($o); } - $res .= $o; + if ($o !== true) { + $res .= $o; + } } } diff --git a/app/Fluidbook/Farm.php b/app/Fluidbook/Farm.php index 6923784d5..64891a459 100644 --- a/app/Fluidbook/Farm.php +++ b/app/Fluidbook/Farm.php @@ -321,7 +321,7 @@ class Farm return self::_getFile( ['operation' => 'ocr', 'file' => $file, - 'locale' => $locale], 0, true, true); + 'locale' => $locale], 0, false, true); }); }