Commit 5a4ad99a authored by Dries's avatar Dries

- Patch #162463 by kbahey: fixed notice.

parent 9dc7f86d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment