Révision e4215af7
Ajouté par Assos Assos il y a environ 3 ans
drupal7/sites/all/modules/media/includes/media.fields.inc | ||
---|---|---|
206 | 206 |
/** |
207 | 207 |
* The #value_callback for the media field element. |
208 | 208 |
*/ |
209 |
function media_field_widget_value($element, $input = FALSE, $form_state) { |
|
209 |
function media_field_widget_value($element, $input = FALSE, $form_state = array()) {
|
|
210 | 210 |
if ($input) { |
211 | 211 |
// Checkboxes lose their value when empty. |
212 | 212 |
// If the display field is present make sure its unchecked value is saved. |
Formats disponibles : Unified diff
Weekly update of contrib modules