Error on running database update script:
warning: array_merge() [function.array-merge]: Argument #1 is not an array in image_styles() (line 582 of /home/mysite/public_html/folder/modules/image/image.module)
I managed to fix the warnings by changing line 582 to:
$effect = array_merge((array)$definition, (array)$effect);
ie: (added "(array)" before each variable).
I would like to check with the module maintainers that this is not going to cause other problems and if not suggest this fix for inclusion in the dev branch. If it is the wrong approach can a proper fix be suggested?