Skip to content

Commit

Permalink
E-notice fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Feb 26, 2017
1 parent dd1a896 commit 25c03dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CRM/Contribute/BAO/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ public static function whereClauseSingle(&$values, &$query) {
// @todo these are mostly legacy params. Find a better way to deal with them.
if (!in_array($name, $fieldNamesNotToStripContributionFrom)
) {
if (!isset($fields[$name])) {
$name = str_replace('contribution_', '', $name);
if (!isset($fields[$qillName]) && isset($fields[str_replace('contribution_', '', $qillName)])) {
$qillName = str_replace('contribution_', '', $qillName);
}
$name = str_replace('contribution_', '', $name);
Expand Down

0 comments on commit 25c03dd

Please sign in to comment.