Index: mm_node.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/media_mover/mm_node/mm_node.module,v retrieving revision 1.1.2.46.2.12 diff -u -p -r1.1.2.46.2.12 mm_node.module --- mm_node.module 5 Dec 2008 21:22:13 -0000 1.1.2.46.2.12 +++ mm_node.module 10 Dec 2008 01:07:10 -0000 @@ -283,9 +283,9 @@ function mm_node_complete( $configuratio // check and see if we have a NID if ($file['nid']) { $options = array(); - if ($configuration['complete_conditions']['published'] != '0') { $options[] = "status = 1 ";} - if ($configuration['complete_conditions']['in moderation queue'] != '0') { $options[] = "moderate = 1 ";} - if ($configuration['complete_conditions']['promoted to front page'] != '0') { $options[] = "promote = 1 ";} + if (isset($configuration['complete_conditions']['published'])) { $options[] = "status = 1 ";} + if (isset($configuration['complete_conditions']['in moderation queue'])) { $options[] = "moderate = 1 ";} + if (isset($configuration['complete_conditions']['promoted to front page'])) { $options[] = "promote = 1 ";} if (count($options)) { $options = implode(", ", $options); db_query("UPDATE {node} SET $options WHERE nid = %d", $file['nid']);