You are here

function biblio_node_export_node_alter in Bibliography Module 7

Same name and namespace in other branches
  1. 6 biblio.module \biblio_node_export_node_alter()
  2. 7.2 biblio.module \biblio_node_export_node_alter()

Fixes node export importing issue #826506.

File

./biblio.module, line 2520
Bibliography Module for Drupal.

Code

function biblio_node_export_node_alter($node, $original_node) {
  if ($node->type == 'biblio' && isset($node->biblio_contributors) && is_array($node->biblio_contributors)) {
    foreach ($node->biblio_contributors as $n => $value) {
      unset($node->biblio_contributors[$n]['cid']);
    }
  }
}