Merged changes from stable branch up to 2.3.12
[fa-stable.git] / includes / hooks.inc
index 515bcccf3c9f72a22f4bbf79439a3d1a4973c2b8..521e48a6b862742b10daa40c66d3c72183705b8a 100644 (file)
@@ -103,6 +103,7 @@ class hooks {
        function price_in_words($amount, $doc_type)
        {
        }
+
        //
        // Exchange rate currency $curr as on date $date.
        // Keep in mind FA has internally implemented 3 exrate providers
@@ -212,7 +213,7 @@ function install_hooks()
 function activate_hooks($ext, $comp)
 {
        global $Hooks;
-       
+
        $hooks = @$Hooks[$ext];
        if (!$hooks) {
                $hookclass = 'hooks_'.$ext;
@@ -272,7 +273,7 @@ function hook_invoke_first($method, &$data, $opts=null)
 {
 
        global $Hooks;
-       
+
        $result = null;
        foreach($Hooks as $ext => $hook) {
                if (method_exists($hook, $method)) {