The notice and info have been moved
This commit is contained in:
@@ -77,7 +77,7 @@ class Embed extends BaseAdmin
|
||||
|
||||
$theme = Strings::sanitizeFilePathItem($this->parameters['theme']);
|
||||
if (!is_dir("view/theme/$theme")) {
|
||||
notice($this->t('Unknown theme.'));
|
||||
DI::sysmsg()->addNotice($this->t('Unknown theme.'));
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user