aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
Diffstat (limited to 'js/lib')
-rw-r--r--js/lib/hooks.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/hooks.js b/js/lib/hooks.js
index aab129d6e..eeaffb846 100644
--- a/js/lib/hooks.js
+++ b/js/lib/hooks.js
@@ -88,5 +88,5 @@ elgg.trigger_hook = function(name, type, params, value) {
return true;
});
- return tempReturnValue || returnValue;
+ return (tempReturnValue !== null) ? tempReturnValue : returnValue;
}; \ No newline at end of file