From 5a4ad99af3ea400c5a7d3e6e2b7ea8c9678ecd56 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 28 Jul 2007 07:16:44 +0000 Subject: - Patch #162463 by kbahey: fixed notice. --- modules/path/path.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/path/path.module') 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; -- cgit v1.2.3