diff options
-rw-r--r-- | modules/node.module | 2 | ||||
-rw-r--r-- | modules/node/node.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/node.module b/modules/node.module index f890985db..610c65b9a 100644 --- a/modules/node.module +++ b/modules/node.module @@ -869,7 +869,7 @@ function node_get_alias($path) { } function node_url($node) { - if ($node->path) { + if ($node->path != NULL) { return $node->path; } else { diff --git a/modules/node/node.module b/modules/node/node.module index f890985db..610c65b9a 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -869,7 +869,7 @@ function node_get_alias($path) { } function node_url($node) { - if ($node->path) { + if ($node->path != NULL) { return $node->path; } else { |