mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 06:23:18 +00:00
Slight refactoring of caption_record, databox_field and record_adapter
This commit is contained in:
@@ -754,7 +754,7 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
|
||||
*/
|
||||
public function get_caption()
|
||||
{
|
||||
return new caption_record($this->app, $this, $this->getDatabox());
|
||||
return new caption_record($this->app, $this);
|
||||
}
|
||||
|
||||
public function getCaption(array $fields = null)
|
||||
|
Reference in New Issue
Block a user