Projet

Général

Profil

Révision 01f36513

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/media/media.module
248 248
  $form_parents = func_get_args();
249 249
  $form_build_id = (string) array_pop($form_parents);
250 250

  
251
  // Sanitize form parents before using them.
252
  $form_parents = array_filter($form_parents, 'element_child');
253

  
251 254
  if (empty($_POST['form_build_id']) || $form_build_id != $_POST['form_build_id']) {
252 255
    // Invalid request.
253 256
    drupal_set_message(t('An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (@size) that this server supports.', array('@size' => format_size(file_upload_max_size()))), 'error');

Formats disponibles : Unified diff