In the function "global_filter_extract_values", 0 is returned by this function if $v is an associative array.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lchang’s picture

RdeBoer’s picture

Thanks for the patch lchang.
In what context did this come up? What went wrong?
Rik

lchang’s picture

Address Field, the key of array are "country", "postal_code", etc., so reset($v) returns 0.

  • RdeBoer committed 6c5b4ed on 7.x-1.x
    Fix for address fields [#2457281]. Thanks so much lchang.
    
joelpittet’s picture

Status: Needs review » Fixed

This has been committed already. Marked as fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.