projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed error reporting in mail send method
[fa-stable.git]
/
includes
/
hooks.inc
diff --git
a/includes/hooks.inc
b/includes/hooks.inc
index 41bfde10e698d71dd511fedceec8b9d17c7b4137..716b6d9348ea8951e511aab530573ab3975df99c 100644
(file)
--- a/
includes/hooks.inc
+++ b/
includes/hooks.inc
@@
-246,7
+246,7
@@
function hook_invoke_all($method, &$data, $opts=null)
global $Hooks;
global $Hooks;
- $re
sult
= array();
+ $re
turn
= array();
foreach($Hooks as $ext => $hook)
if (method_exists($hook, $method)) {
set_ext_domain('modules/'.$ext);
foreach($Hooks as $ext => $hook)
if (method_exists($hook, $method)) {
set_ext_domain('modules/'.$ext);
@@
-258,7
+258,7
@@
function hook_invoke_all($method, &$data, $opts=null)
}
}
set_ext_domain();
}
}
set_ext_domain();
- return $re
sult
;
+ return $re
turn
;
}
/*
Returns first non-null result returned from hook.
}
/*
Returns first non-null result returned from hook.