Révision d50a36e0
Ajouté par Assos Assos il y a presque 4 ans
drupal7/sites/all/modules/file_entity/file_entity.pages.inc | ||
---|---|---|
177 | 177 |
'#items' => (count($limits) <= 15) ? $limits : array(implode(', ', $limits)), |
178 | 178 |
); |
179 | 179 |
|
180 |
if (!empty($valid_extensions)) { |
|
180 |
if (!empty($valid_extensions) && count($limits) == count($valid_extensions)) {
|
|
181 | 181 |
$form['upload']['#description'] = t('Files must be less than these sizes: !list', |
182 | 182 |
array( |
183 | 183 |
'!list' => render($list), |
Formats disponibles : Unified diff
Weekly update of contrib modules