diff options
Diffstat (limited to 'modules/path/path.module')
-rw-r--r-- | modules/path/path.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/path/path.module b/modules/path/path.module index 3dc186699..18833dd1c 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -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; |