Bank transfer with zero amount is not allowed.
[fa-stable.git] / includes / hooks.inc
index 41bfde10e698d71dd511fedceec8b9d17c7b4137..716b6d9348ea8951e511aab530573ab3975df99c 100644 (file)
@@ -246,7 +246,7 @@ function hook_invoke_all($method, &$data, $opts=null)
 
        global $Hooks;
        
-       $result = array();
+       $return = array();
        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();
-       return $result;
+       return $return;
 }
 /*
        Returns first non-null result returned from hook.