diff --git a/lib/Alchemy/Phrasea/Controller/Prod/Bridge.php b/lib/Alchemy/Phrasea/Controller/Prod/Bridge.php index b5255f289d..04d5aa8517 100644 --- a/lib/Alchemy/Phrasea/Controller/Prod/Bridge.php +++ b/lib/Alchemy/Phrasea/Controller/Prod/Bridge.php @@ -379,11 +379,12 @@ class Bridge implements ControllerProviderInterface $route->grep_records($account->get_api()->acceptable_records()); $params = array( - 'route' => $route - , 'account' => $account - , 'error_message' => $app['request']->get('error') - , 'notice_message' => $app['request']->get('notice') - , 'adapter_action' => 'upload' + 'route' => $route + , 'account' => $account + , 'error_message' => $app['request']->get('error') + , 'notice_message' => $app['request']->get('notice') + , 'constraint_errors' => null + , 'adapter_action' => 'upload' ); $html = $twig->render( diff --git a/lib/classes/Bridge/Api/Dailymotion.class.php b/lib/classes/Bridge/Api/Dailymotion.class.php index 025121da48..1342cb520d 100644 --- a/lib/classes/Bridge/Api/Dailymotion.class.php +++ b/lib/classes/Bridge/Api/Dailymotion.class.php @@ -637,7 +637,6 @@ class Bridge_Api_Dailymotion extends Bridge_Api_Abstract implements Bridge_Api_I /** * @todo Retieve thumb */ - return new Bridge_Api_Dailymotion_Container($entry, $object, ''); break; default: