Merged changes up to 2.3.16 into unstable
[fa-stable.git] / includes / hooks.inc
index b27fc35501788654afcd15ab69df50d23d5ad73c..361a56eca52d95d7852ca9e6370ad0be1a7bc3fc 100644 (file)
@@ -116,6 +116,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
@@ -225,7 +226,7 @@ function install_hooks()
 function activate_hooks($ext, $comp)
 {
        global $Hooks;
-       
+
        $hooks = @$Hooks[$ext];
        if (!$hooks) {
                $hookclass = 'hooks_'.$ext;
@@ -288,7 +289,7 @@ function hook_invoke_first($method, &$data, $opts=null)
 {
 
        global $Hooks;
-       
+
        $result = null;
        foreach($Hooks as $ext => $hook) {
                if (method_exists($hook, $method)) {