bad variable in type_local_nids_node_type

joachim - March 1, 2009 - 08:39
Project:Type-local nids
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:jbrown
Status:closed
Description

$node is node defined in the function type_local_nids_node_type:

case 'delete':

db_query("
DELETE FROM {node_lnid_next}
WHERE type = '%s'
",
$node->type
);

break;

You probably want $info->type like further down.

#1

jbrown - April 25, 2009 - 21:23
Assigned to:Anonymous» jbrown
Status:active» fixed

http://drupal.org/cvs?commit=202684

Thanks joachim

#2

System Message - May 9, 2009 - 21:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.