fix(deps): update dependency friendsofphp/php-cs-fixer to <3.23.1 (stable) (#2656)
* fix(deps): update dependency friendsofphp/php-cs-fixer to <3.23.1 * style: format files using php-cs-fixer --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: jo <ljonas@riseup.net>
This commit is contained in:
parent
a5cc52e9a9
commit
ab16cb47c5
9 changed files with 12 additions and 5 deletions
|
@ -401,6 +401,7 @@ class Application_Service_ShowFormService
|
|||
Logging::error('Failed to read image: ' . $path);
|
||||
$imageData = null;
|
||||
}
|
||||
|
||||
// return the data URI - data:{mime};base64,{data}
|
||||
return ($imageData === null || $imageData === '') ?
|
||||
'' : 'data: ' . mime_content_type($path) . ';base64,' . $imageData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue