Project

General

Profile

Revision 9a28ac3f

Added by Assos Assos almost 4 years ago

Weekly update of contrib modules

View differences:

drupal7/sites/all/modules/views_bulk_operations/actions/modify.action.inc
570 570

  
571 571
    $has_enabled_fields = FALSE;
572 572
    foreach ($display_values as $key) {
573
      if (strpos($key, $bundle_name . '::') !== FALSE) {
573
      if (strpos($key, $bundle_name . '::') === 0) {
574 574
        $has_enabled_fields = TRUE;
575 575
      }
576 576
    }
......
588 588
 * Helper function that recursively strips #required from field widgets.
589 589
 */
590 590
function _views_bulk_operations_modify_action_unset_required(&$element) {
591
  unset($element['#required']);
591
  $element['#required'] = FALSE;
592 592
  foreach (element_children($element) as $key) {
593 593
    _views_bulk_operations_modify_action_unset_required($element[$key]);
594 594
  }

Also available in: Unified diff