From 0881e9d98a724bbf120aa56d457b56e80f71dc1e Mon Sep 17 00:00:00 2001 From: Tim Erickson Date: Mon, 11 Dec 2023 23:47:23 -0600 Subject: [PATCH] Bug fix (#2) * Update admin.css Remove !important from css. * Update clone.admin.inc - Fix missing bracket --- css/admin.css | 4 ++-- includes/clone.admin.inc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/admin.css b/css/admin.css index a227584..3ec87d4 100644 --- a/css/admin.css +++ b/css/admin.css @@ -1,5 +1,5 @@ -.ctc-readonly { - background-color: #f1f1f1 !important; +.form-item .ctc-readonly { + background-color: #f1f1f1; } .token-tree { diff --git a/includes/clone.admin.inc b/includes/clone.admin.inc index 74449e5..2200e8a 100644 --- a/includes/clone.admin.inc +++ b/includes/clone.admin.inc @@ -294,7 +294,7 @@ function content_type_clone_create(array $values) { // Create new groups. if (module_exists('field_group')) { $groups = field_group_info_groups('node', $values['source_machine_name'], NULL, TRUE); - if (!empty($groups)) + if (!empty($groups)) { foreach ($groups['form'] as $group) { $group->bundle = $values['target_machine_name']; field_group_group_save($group, $new = TRUE);