diff --git a/src/EventGenerator/EventGenerator.php b/src/EventGenerator/EventGenerator.php index 10814328..b8486381 100644 --- a/src/EventGenerator/EventGenerator.php +++ b/src/EventGenerator/EventGenerator.php @@ -98,7 +98,7 @@ class EventGenerator implements EventGeneratorInterface { return; } - if ($file === null) { + if ($file === NULL) { \Drupal::logger('islandora')->debug( "'field_image' or 'field_file' is null in Media entity {$entity->id()}" );