Merge pull request #22141 from eileenmcnaughton/contexty
authorcolemanw <coleman@civicrm.org>
Sat, 27 Nov 2021 02:44:19 +0000 (21:44 -0500)
committerGitHub <noreply@github.com>
Sat, 27 Nov 2021 02:44:19 +0000 (21:44 -0500)
Ensure context is always assigned

CRM/Core/Form.php

index c3db10f33b66fa5206f5cd7ed80b4ed92f657f1f..9fdf2e86683d522bf8147618b959888e40997978 100644 (file)
@@ -277,6 +277,8 @@ class CRM_Core_Form extends HTML_QuickForm_Page {
     'infoTitle',
     'infoType',
     'infoOptions',
+    // required for attachmentjs.tpl
+    'context',
   ];
 
   /**