Skip to content

Commit

Permalink
Issue CollaboraOnline#56: Normalize spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
donquixote committed Nov 12, 2024
1 parent 07e6d08 commit fafcb2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/ViewerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function editor(Media $media, $edit = FALSE) {

$render_array = CoolUtils::getViewerRender($media, $edit, $options);

if (!$render_array || array_key_exists('error', $render_array)) {
if (!$render_array || array_key_exists('error', $render_array)) {
$error_msg = 'Viewer error: ' . ($render_array ? $render_array['error'] : 'NULL');
\Drupal::logger('cool')->error($error_msg);
return new Response(
Expand Down

0 comments on commit fafcb2c

Please sign in to comment.