Commit 5a4ad99a authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- 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);
Supports Markdown
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