location module for cck - problem

* warning: array_filter() [function.array-filter]: The first argument should be an array in /var/www/vhosts/lafra/sites/all/modules/location/contrib/location_cck/location_cck.module on line 389.

patch location.module solve the problem:

Changing line 386 from location_cck.module from:

'hide' => array_keys(array_filter($item['location_settings']['display']['hide'])),

to:

'hide' => (isset($item['location_settings'])) ? array_keys(array_filter($item['location_settings']['display']['hide'])) : array(),

and it solved the problem... instead of filling ['hide'] with null if there is no $item['location_settings'] present, it fills ['hide'] with an empty array...

#55
60