Commit ad13675a authored by Steven Wittens's avatar Steven Wittens

- Fixing bug with PHP5 patch.

parent 51cf18e5
......@@ -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;
}
}
......
......@@ -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;
}
}
......
Markdown is supported
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