I had to adjust a small part of the code to make (imho) work as intended.

(near line 337)
// check on duplicates by title
$node = node_load(array('title'=>$title));

(to)
// check on duplicates by title
$node = node_load(array('title'=>$title,'type'=>$node_type));

Comments

brevity’s picture

Thank you very much! Looks better, yes ;)