line 1519 or so
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | location-province_notice-931526-9.patch | 582 bytes | bdlangton |
| #2 | location-931526.patch | 2.35 KB | mikeytown2 |
| #1 | location-931526.patch | 1.28 KB | mikeytown2 |
line 1519 or so
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | location-province_notice-931526-9.patch | 582 bytes | bdlangton |
| #2 | location-931526.patch | 2.35 KB | mikeytown2 |
| #1 | location-931526.patch | 1.28 KB | mikeytown2 |
Comments
Comment #1
mikeytown2 commentedalso includes a whitespace fix
Comment #2
mikeytown2 commentedComment #3
rooby commentedFixed in all branches.
I also added isset() checks for other elements of the location so that we never get undefined index notifications for anything in template_preprocess_location().
http://drupal.org/cvs?commit=494692
http://drupal.org/cvs?commit=494690
http://drupal.org/cvs?commit=494688
http://drupal.org/cvs?commit=494694
Also, this section is not related to this issue so was not included in this fix.
If it is fixing some other problem please open a separate issue for that (if there is not already one).
Powered by Dreditor.
Comment #4
rooby commentedDuplicates:
#1030714: Undefined index- province n template_preprocess_location()
#1036926: Undefined index: province_name in template_preprocess_location
Comment #5
bdragon commented@rooby:
Please revert your additions to the commit. You introduced a bug in the line 1536 band (breaking the 'coords' "magic" key). It's only unsafe to unset deep into arrays without checks, and isset() checks are not needed when doing an empty() check.
Comment #6
rooby commentedWhoops sorry, I'll get that one later today.
Comment #7
rooby commentedThanks for picking that up.
I have now removed the silly bits.
http://drupal.org/cvs?commit=496782
http://drupal.org/cvs?commit=496784
http://drupal.org/cvs?commit=496788
http://drupal.org/cvs?commit=496790
Comment #9
bdlangton commentedJust putting a patch out there that is a combination of the two commits already made to the codebase.