summaryrefslogtreecommitdiff
path: root/modules/node.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2004-08-23 00:44:02 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2004-08-23 00:44:02 +0000
commitad13675a4f0e17aff2875efa13ca0c2b54af0b61 (patch)
tree989258bdff94767b6463c583940ec5d42000e2d8 /modules/node.module
parent51cf18e53176244f264c56cab1c4ff0d1767ac59 (diff)
downloadbrdo-ad13675a4f0e17aff2875efa13ca0c2b54af0b61.tar.gz
brdo-ad13675a4f0e17aff2875efa13ca0c2b54af0b61.tar.bz2
- Fixing bug with PHP5 patch.
Diffstat (limited to 'modules/node.module')
-rw-r--r--modules/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node.module b/modules/node.module
index 6deaa6763..4c99294b5 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -350,7 +350,7 @@ function node_invoke_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
if (is_array($result)) {
$return = array_merge($return, $result);
}
- else {
+ else if (isset($result)) {
$return[] = $result;
}
}