diff -u b/fe_block.module b/fe_block.module --- b/fe_block.module +++ b/fe_block.module @@ -508,7 +508,7 @@ if (module_exists('blockcache_alter')) { _fe_block_settings_update_block_cache_alter($block); } - + // Create corresponding Bean entity if (module_exists('bean') && $block['module'] == 'bean') { _fe_block_settings_update_block_bean_entity($block); @@ -727,13 +727,13 @@ /** * Helper to update the Bean entity for a specific (Bean) block - * + * * @param array $block * Block definition. */ function _fe_block_settings_update_block_bean_entity($block) { $bean = bean_create($block['bean']); - + // First check for an existing bean to update or delete if ($old_bean = bean_delta_load($block['delta'])) { // If type has changed we must delete (delta was used for lookup) @@ -748,14 +748,14 @@ $bean = $old_bean; } } - + // Then create the new/updated bean $bean->save(); } /** * Define values for beans that are relevant for fe_block purposes - * + * * @return array $values * Values that correspond to the Bean object */ @@ -1260,10 +1260,10 @@ /** * Get Bean entity values from bean. - * + * * @param array $block * Block definition array. - * + * * @return array * Array of bean entity values for the specified block. */