Merge pull request #23954 from eileenmcnaughton/poly
[civicrm-core.git] / CRM / Admin / Form / MessageTemplates.php
index 076fcf3742ca96ed30a78a5f326fdd6434610509..efabfc033a40188d326838fa50d4b864faeb34ac 100644 (file)
@@ -128,7 +128,7 @@ class CRM_Admin_Form_MessageTemplates extends CRM_Core_Form {
       ];
       if (!($this->_action & CRM_Core_Action::DELETE)) {
         $buttons[] = [
-          'type' => 'submit',
+          'type' => 'upload',
           'name' => ts('Save and Done'),
           'subName' => 'done',
         ];
@@ -244,7 +244,7 @@ class CRM_Admin_Form_MessageTemplates extends CRM_Core_Form {
    *   The input form values.
    * @param array $files
    *   The uploaded files if any.
-   * @param array $self
+   * @param self $self
    *
    * @return array
    *   array of errors