[core] all image columns should be statically or dynamically defined - nothing undefined

This commit is contained in:
Shish
2024-01-15 18:01:48 +00:00
parent fb034af699
commit 2a494504f3
9 changed files with 86 additions and 27 deletions

View File

@@ -104,6 +104,11 @@ class NumericScore extends Extension
/** @var NumericScoreTheme */
protected Themelet $theme;
public function onInitExt(InitExtEvent $event): void
{
Image::$prop_types["numeric_score"] = ImagePropType::INT;
}
public function onDisplayingImage(DisplayingImageEvent $event): void
{
global $user;