diff --git a/ModuleReleaseNotes.module b/ModuleReleaseNotes.module index dd1e09a..ad613bb 100644 --- a/ModuleReleaseNotes.module +++ b/ModuleReleaseNotes.module @@ -513,7 +513,7 @@ class ModuleReleaseNotes extends Process implements ConfigurableModule { $ext = strtolower(pathinfo($filename, PATHINFO_EXTENSION)); if (empty($ext)) $ext = 'txt'; $content = file_get_contents($filename); - if (false !== $content && !empty(trim($content))) { + if (false !== $content && false != trim($content)) { $tmpval = $newtype; $tmp = $this->formatTextOfType(strtolower($filename), $ext, $content, $transformation_applied, $tmpval); $tmp = self::addExpansionWrapper($tmp, __('Show All'), 'long', 'full-height');