mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix include resolution
Incorrect use of += operator on arrays caused the story includes to always be unset
This commit is contained in:
@@ -15,6 +15,7 @@ use League\Fractal\TransformerAbstract;
|
||||
class RecordTransformer extends TransformerAbstract
|
||||
{
|
||||
protected $availableIncludes = ['thumbnail', 'technical_informations', 'subdefs', 'metadata', 'status', 'caption'];
|
||||
|
||||
protected $defaultIncludes = ['thumbnail', 'technical_informations'];
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user