From 000e682a9a3f4c2a196fe01cd1a02bf0f922f0b1 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Fri, 3 Nov 2017 16:40:14 +1100 Subject: [PATCH] CRM-21388 Only throw execption if Extexsion Key is set in the url --- CRM/Admin/Form/Extensions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Admin/Form/Extensions.php b/CRM/Admin/Form/Extensions.php index 89076ef737..d6901f557f 100644 --- a/CRM/Admin/Form/Extensions.php +++ b/CRM/Admin/Form/Extensions.php @@ -52,7 +52,7 @@ class CRM_Admin_Form_Extensions extends CRM_Admin_Form { $this->_key = CRM_Utils_Request::retrieve('key', 'String', $this, FALSE, 0 ); - if (!CRM_Utils_Type::validate($this->_key, 'ExtensionKey')) { + if (!CRM_Utils_Type::validate($this->_key, 'ExtensionKey') && !empty($this->_key)) { throw new CRM_Core_Exception('Extension Key does not match expected standard'); } $session = CRM_Core_Session::singleton(); -- 2.25.1