mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Replace app['phraseanet.appbox']->get_databox using trait
This commit is contained in:
@@ -735,7 +735,7 @@ class CollectionController extends Controller
|
||||
public function getSuggestedValues($bas_id)
|
||||
{
|
||||
/** @var \databox $databox */
|
||||
$databox = $this->app['phraseanet.appbox']->get_databox(\phrasea::sbasFromBas($this->app, $bas_id));
|
||||
$databox = $this->app->findDataboxById(\phrasea::sbasFromBas($this->app, $bas_id));
|
||||
$collection = \collection::get_from_base_id($this->app, $bas_id);
|
||||
$structFields = $suggestedValues = $basePrefs = [];
|
||||
|
||||
|
Reference in New Issue
Block a user