CRM-21004: change conditions under which we remove html snippet action
authorBrian Shaughnessy <brian@lcdservices.biz>
Wed, 2 Aug 2017 13:54:52 +0000 (09:54 -0400)
committerBrian Shaughnessy <brian@lcdservices.biz>
Wed, 2 Aug 2017 13:54:52 +0000 (09:54 -0400)
CRM/UF/Page/Group.php

index 760e0e012afda7903f2b7f92abaee9fd6ad6bb4c..e664706f477444fd540409a342e2f6aa04fbe4ad 100644 (file)
@@ -362,7 +362,7 @@ class CRM_UF_Page_Group extends CRM_Core_Page {
         $action -= CRM_Core_Action::BASIC;
 
         //CRM-21004
-        if (Civi::settings()->get('remote_profile_submissions')) {
+        if (array_key_exists(CRM_Core_Action::PROFILE, self::$_actionLinks)) {
           $action -= CRM_Core_Action::PROFILE;
         }
       }