Skip to content

Commit

Permalink
Merge pull request #18707 from eileenmcnaughton/notice
Browse files Browse the repository at this point in the history
Enotice fix
  • Loading branch information
eileenmcnaughton authored Oct 8, 2020
2 parents d3b44cc + 8b95ac2 commit 0b3ba2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Report/Form/Instance.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public static function formRule($fields, $errors, $self) {
*/
public static function setDefaultValues(&$form, &$defaults) {
// we should not build form elements in dashlet mode.
if ($form->_section) {
if (!empty($form->_section)) {
return;
}

Expand Down

0 comments on commit 0b3ba2a

Please sign in to comment.