add enotice on our belt & braces protection fn
authorEileen McNaughton <eileen@fuzion.co.nz>
Fri, 17 Jul 2015 07:15:44 +0000 (19:15 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Fri, 17 Jul 2015 07:15:44 +0000 (19:15 +1200)
CRM/Contact/BAO/Query.php

index 562ed14e1ce352d3e721bf8faf17a6da2ee7561e..58f7414c204e7ee83a5893338e42cbc4e9a84506 100644 (file)
@@ -5190,6 +5190,7 @@ SELECT COUNT( conts.total_amount ) as cancel_count,
           // We could get away with keeping this in 4.6 if we make it such that it throws an enotice in 4.7 so
           // people have to de-slopify it.
           if (!empty($value[0])) {
+            $dragonPlace = $iAmAnIntentionalENoticeThatWarnsOfAProblemYouShouldReport;
             if (($queryString = CRM_Core_DAO::createSqlFilter($field, array($op => $value), $dataType)) != FALSE) {
               return $queryString;
             }