diff --git a/lib/Alchemy/Phrasea/Controller/Prod/Bridge.php b/lib/Alchemy/Phrasea/Controller/Prod/Bridge.php index 2ae0074c8f..f813e436e3 100644 --- a/lib/Alchemy/Phrasea/Controller/Prod/Bridge.php +++ b/lib/Alchemy/Phrasea/Controller/Prod/Bridge.php @@ -426,6 +426,7 @@ class Bridge implements ControllerProviderInterface , 'account' => $account , 'error_message' => $app['request']->get('error') , 'notice_message' => $app['request']->get('notice') + , 'constraint_errors' => null , 'adapter_action' => 'upload' ); diff --git a/lib/classes/Bridge/Api/Dailymotion.class.php b/lib/classes/Bridge/Api/Dailymotion.class.php index 57a916af15..2c62359fd2 100644 --- a/lib/classes/Bridge/Api/Dailymotion.class.php +++ b/lib/classes/Bridge/Api/Dailymotion.class.php @@ -971,12 +971,6 @@ class Bridge_Api_Dailymotion extends Bridge_Api_Abstract implements Bridge_Api_I 'length_min' => '0', 'required' => true ) - , array( - 'name' => 'category', - 'length' => '0', - 'length_min' => '0', - 'required' => true - ) ); }