Merge pull request #4552 from giant-rabbit/preprocess-hook
[civicrm-core.git] / CRM / Grant / Form / Task.php
index 79fa644cd3c01ad59ea6850305a4cb6d07a30528..cf89402c08a807060c636c500887f75fe586241b 100644 (file)
@@ -78,6 +78,10 @@ class CRM_Grant_Form_Task extends CRM_Core_Form {
     self::preProcessCommon($this);
   }
 
+  /**
+   * @param $form
+   * @param bool $useTable
+   */
   static function preProcessCommon(&$form, $useTable = FALSE) {
     $form->_grantIds = array();
 
@@ -153,7 +157,7 @@ class CRM_Grant_Form_Task extends CRM_Core_Form {
    * @return void
    * @access public
    */
-  function addDefaultButtons($title, $nextType = 'next', $backType = 'back') {
+  function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) {
     $this->addButtons(array(
         array(
           'type' => $nextType,