]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #4051 hooks trigger function was returning undefined when it should have been...
authorCash Costello <cash.costello@gmail.com>
Fri, 4 Nov 2011 00:36:27 +0000 (20:36 -0400)
committerCash Costello <cash.costello@gmail.com>
Fri, 4 Nov 2011 00:36:27 +0000 (20:36 -0400)
js/lib/hooks.js

index 7bac471f6cfe53efd431e1fc6f3f502cc3f01fbd..5e1808e2271f284a7ab296212b6cd3f24e9e8638 100644 (file)
@@ -115,7 +115,7 @@ elgg.trigger_hook = function(name, type, params, value) {
                return true;
        });
 
-       return (tempReturnValue !== null) ? tempReturnValue : returnValue;
+       return (tempReturnValue != null) ? tempReturnValue : returnValue;
 };
 
 /**