Skip to content

Commit

Permalink
PHP warnings on Case Dashboard and Find Cases
Browse files Browse the repository at this point in the history
civicrm#13746 adds a formRule function to CRM_Core_Form_Search which is the parent of CRM_Case_Form_Search. It already has a formRule function but the signatures don't match.

argh
  • Loading branch information
demeritcowboy committed Apr 8, 2019
1 parent 70d74a9 commit bcd02d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Case/Form/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ public function addRules() {
*
* @return array|bool
*/
public static function formRule($fields) {
$errors = array();
public static function formRule($fields, $files, $form) {
$errors = [];

if (!empty($errors)) {
return $errors;
Expand Down

0 comments on commit bcd02d8

Please sign in to comment.