From 234216da157d61c1e9b691f3dc84a79e38a53bbc Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 12 Mar 2013 12:21:59 -0400 Subject: [PATCH] CRM-11823 - Restore generation of JS/CSS markup in the profiles' "HTML Form Snippets" --- CRM/Utils/String.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CRM/Utils/String.php b/CRM/Utils/String.php index abafc42cf2..9289125691 100644 --- a/CRM/Utils/String.php +++ b/CRM/Utils/String.php @@ -488,11 +488,7 @@ class CRM_Utils_String { */ static function addJqueryFiles(&$html) { CRM_Core_Resources::singleton()->addCoreResources('html-header'); - if (!defined('CIVICRM_UF_HEAD')) { - return CRM_Core_Region::instance('html-header')->render('', FALSE) . $html; - } else { - return $html; - } + return CRM_Core_Region::instance('html-header')->render('', FALSE) . $html; } /** -- 2.25.1