aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-03 20:36:27 -0400
committerCash Costello <cash.costello@gmail.com>2011-11-03 20:36:27 -0400
commit065dfb7a15747291aca90aa22752ffc2d7b7328e (patch)
tree2612ecf90fbd73983bc61550b3988f8be2d60710
parent8f537ce0d21aa86fcb6a10e2fab4ac46fe1b473d (diff)
downloadelgg-065dfb7a15747291aca90aa22752ffc2d7b7328e.tar.gz
elgg-065dfb7a15747291aca90aa22752ffc2d7b7328e.tar.bz2
Refs #4051 hooks trigger function was returning undefined when it should have been returning true
-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 7bac471f6..5e1808e22 100644
--- a/js/lib/hooks.js
+++ b/js/lib/hooks.js
@@ -115,7 +115,7 @@ elgg.trigger_hook = function(name, type, params, value) {
return true;
});
- return (tempReturnValue !== null) ? tempReturnValue : returnValue;
+ return (tempReturnValue != null) ? tempReturnValue : returnValue;
};
/**