[core] use ArrayAccess rather than dynamic props for extra columns on the images table
This commit is contained in:
@ -282,7 +282,7 @@ class NumericScore extends Extension
|
||||
|
||||
public function onParseLinkTemplate(ParseLinkTemplateEvent $event): void
|
||||
{
|
||||
$event->replace('$score', (string)$event->image->numeric_score);
|
||||
$event->replace('$score', (string)$event->image['numeric_score']);
|
||||
}
|
||||
|
||||
public function onHelpPageBuilding(HelpPageBuildingEvent $event): void
|
||||
|
Reference in New Issue
Block a user