diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-07-28 07:16:44 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-07-28 07:16:44 +0000 |
commit | 5a4ad99af3ea400c5a7d3e6e2b7ea8c9678ecd56 (patch) | |
tree | 3b1e6229881c65ece7640c0bd49ba729ede9ec9d /modules/path/path.module | |
parent | 9dc7f86df1bdd9495739569f6e056804cc26408c (diff) | |
download | brdo-5a4ad99af3ea400c5a7d3e6e2b7ea8c9678ecd56.tar.gz brdo-5a4ad99af3ea400c5a7d3e6e2b7ea8c9678ecd56.tar.bz2 |
- Patch #162463 by kbahey: fixed notice.
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; |