Index: modules/path/path.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/path/path.module,v
retrieving revision 1.129
diff -u -F^f -r1.129 path.module
--- modules/path/path.module	22 Jul 2007 20:21:02 -0000	1.129
+++ modules/path/path.module	27 Jul 2007 02:33:51 -0000
@@ -162,7 +162,7 @@ function path_nodeapi(&$node, $op, $arg)
       case 'insert':
         // Don't try to insert if path is NULL. We may have already set
         // the alias ahead of time.
-        if ($node->path) {
+        if (isset($node->path)) {
           path_set_alias("node/$node->nid", $node->path);
         }
         break;
