Skip to content
Snippets Groups Projects
Commit de7e1e15 authored by Mayur Jadhav's avatar Mayur Jadhav
Browse files

Worked on RG-155 to fixed notice

parent d9eadf79
No related branches found
No related tags found
No related merge requests found
......@@ -569,7 +569,7 @@ function grantprograms_civicrm_validate($formName, &$fields, &$files, &$form) {
}
}
if ($formName == 'CRM_Grant_Form_Search') {
if (isset($fields['task']) && $fields['task'] == PAY_GRANTS || $fields['task'] == DELETE_GRANTS) {
if (isset($fields['task']) && CRM_Utils_Array::value('task', $fields) == PAY_GRANTS || CRM_Utils_Array::value('task', $fields) == DELETE_GRANTS) {
foreach ($fields as $fieldKey => $fieldValue) {
if (strstr($fieldKey, 'mark_x_')) {
$grantID = ltrim( $fieldKey, 'mark_x_' );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment