From 35e02b5d282470baf681369f71ca63f1a3cc3b07 Mon Sep 17 00:00:00 2001 From: Jitendra Purohit Date: Mon, 24 Jul 2017 14:28:37 +0530 Subject: [PATCH] call hooks even if joomla isn't bootstraped --- CRM/Utils/Hook/Joomla.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CRM/Utils/Hook/Joomla.php b/CRM/Utils/Hook/Joomla.php index fd1793cb72f2..6d642fe3e444 100644 --- a/CRM/Utils/Hook/Joomla.php +++ b/CRM/Utils/Hook/Joomla.php @@ -123,6 +123,12 @@ public function invokeViaUF( } return $result; } + else { + // CRM-20904: We should still call Civi extension hooks even if Joomla isn't online yet. + return $this->commonInvoke($numParams, + $arg1, $arg2, $arg3, $arg4, $arg5, $arg6, + $fnSuffix, 'joomla'); + } } }