Project

General

Profile

« Previous | Next » 

Revision 28ec5a3e

Added by Andreas Kohlbecker about 7 years ago

avoiding error in feature block generation for bibliography and other sythetic features

View differences:

modules/cdm_dataportal/includes/descriptions.inc
198 198
  $block->module = 'cdm_dataportal';
199 199
  $block->delta = generalizeString($feature_name);
200 200
  $block->region = NULL;
201
  $block->subject = '<a name="' . $block->delta . '"></a><span class="' . html_class_attribute_ref($feature) . '">'
201
  $class_attribute = $feature ? html_class_attribute_ref($feature) : '';
202
  $block->subject = '<a name="' . $block->delta . '"></a><span class="' . $class_attribute . '">'
202 203
    . theme('cdm_feature_name', array('feature_name' => $feature_name))
203 204
    . '</span>';
204 205
  $block->module = "cdm_dataportal-feature";

Also available in: Unified diff