Closed (fixed)
Project:
FileField Sources
Version:
7.x-1.x-dev
Component:
General
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Mar 2012 at 14:29 UTC
Updated:
17 Sep 2012 at 23:21 UTC
PHP Fatal error: Unsupported operand types in /var/aegir/platforms/commerce_kickstart-1.3/sites/all/modules/filefield_sources/filefield_sources.module on line 67
In filefield_sources.module around line 67 in function filefield_sources_form_field_ui_field_edit_form_alter(...)
I replaced
$form['instance']['widget']['settings'] += filefield_sources_form($instance);
with
if (is_array($form['instance']['widget']['settings'])) {
$form['instance']['widget']['settings'] += filefield_sources_form($instance);
} else {
$form['instance']['widget']['settings'] = filefield_sources_form($instance);
}
Before PHP 5.3, array mergin was a little more relaxed...
Comments
Comment #1
quicksketchThanks! Committed finally.
Comment #2
Robin Millette commentedI can't find the actual commit...
Comment #3
quicksketchSorry I hadn't pushed yet. It should be there now.
Comment #4
Robin Millette commentedGot it, thanks!