diff options
-rw-r--r-- | js/lib/hooks.js | 2 |
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 |