Closed (fixed)
Project:
Browscap
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2007 at 15:57 UTC
Updated:
18 Jun 2008 at 17:52 UTC
Jump to comment: Most recent file
Comments
Comment #1
Bodo Maass commentedThis is because the array merge function has changed in PHP5. To fix this, change line 328 of browscap.module into this:
$e = array_merge((array)$vals, (array)$e);
Patch is attached.
Comment #2
robloachI fixed this in the Drupal 6 branch by forcing a check on the values with
isset. Is casting to an array when the values could be invalid or empty sane? Well, I'll commit this, and if you want to back port the fix I used in the Drupal 6 branch, a patch would be great!Comment #3
robloachComment #4
mikeryanLooks like it was backported into the Drupal 5 branch, thanks!
Comment #5
robloachHmm, strange... I don't remember committing it. Must've been late.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.