Commit 1067c060 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Fixed an exception that could occur when reading register.php files

parent 8657ce1d
......@@ -827,7 +827,7 @@ class MailTemplateService {
$extensionConfigDirectory = ExtensionManagementUtility::extPath($extension);
$extensionConfigDirectory .= self::CONFIG_PATH;
if (!\is_dir($extensionConfigDirectory)) {
if (!\is_file($extensionConfigDirectory . '/' . self::REGISTER_FILE)) {
continue;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment