CRM-16457 Fixes error caused by contribution fulfillment date
authorrelldoesphp <tyrell@aghstrategies.com>
Tue, 26 May 2015 22:12:50 +0000 (18:12 -0400)
committerrelldoesphp <tyrell@aghstrategies.com>
Tue, 26 May 2015 22:12:50 +0000 (18:12 -0400)
CRM/Contribute/BAO/Query.php

index c61f3c587356feb4f550f475fde75f088d15a3c7..e3b2a24ebd2a996b4c58ab536aebb3d3960d16d9 100644 (file)
@@ -337,7 +337,7 @@ class CRM_Contribute_BAO_Query {
       case 'contribution_check_number':
       case 'contribution_contact_id':
       case (strpos($name, '_amount') !== FALSE):
-      case (strpos($name, '_date') !== FALSE):
+      case (strpos($name, '_date') !== FALSE && $name != 'contribution_fulfilled_date'):
         $qillName = $name;
         $pseudoExtraParam = NULL;
         if ((strpos($name, '_amount') !== FALSE) || (strpos($name, '_date') !== FALSE) || in_array($name,