mirror of
https://github.com/flextype/flextype.git
synced 2025-08-07 13:46:42 +02:00
feat(media): updates for IdField
This commit is contained in:
@@ -17,5 +17,5 @@ emitter()->addListener('onMediaFetchSingleHasResult', static function (): void {
|
||||
return;
|
||||
}
|
||||
|
||||
media()->registry()->set('fetch.data.id', (string) strings(media()->registry()->get('fetch.id'))->trimSlashes());
|
||||
media()->registry()->set('fetch.data.id', strings(media()->registry()->get('fetch.id'))->trimSlashes()->toString());
|
||||
});
|
Reference in New Issue
Block a user