activity search not working at all
[civicrm-core.git] / CRM / Activity / Tokens.php
index ebb83d02f1258472e3f3fdd209822c1aa2b2c0c4..3271b965922fbf39ef72776d50a514df648a4afb 100644 (file)
@@ -60,8 +60,7 @@ class CRM_Activity_Tokens extends \Civi\Token\AbstractTokenSubscriber {
    */
   public function checkActive(\Civi\Token\TokenProcessor $processor) {
     // Extracted from scheduled-reminders code. See the class description.
-    return
-      !empty($processor->context['actionMapping'])
+    return !empty($processor->context['actionMapping'])
       && $processor->context['actionMapping']->getEntity() === 'civicrm_activity';
   }