mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 20:43:25 +00:00
#PHRAS-888 time 5m
rollback (double record instantiation was ok)
This commit is contained in:
@@ -250,7 +250,7 @@ class databox extends base implements ThumbnailedElement
|
||||
*/
|
||||
public function get_record($record_id, $number = null)
|
||||
{
|
||||
return record_adapter::getRecordLoaded($this->app, $this->id, $record_id, $number);
|
||||
return new record_adapter($this->app, $this->id, $record_id, $number);
|
||||
}
|
||||
|
||||
public function get_label($code, $substitute = true)
|
||||
|
Reference in New Issue
Block a user