From 2379c9b95b8dc0b379d0378cf09fc8af49b46134 Mon Sep 17 00:00:00 2001
From: Dries <dries@buytaert.net>
Date: Fri, 18 May 2012 16:38:28 -0400
Subject: [PATCH] - Patch #1587822 by drumm, bfroehle: Code style: link in
 field_system_info_alter().

---
 core/modules/field/field.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/field/field.module b/core/modules/field/field.module
index d89d21f04092..5bd36d1e3414 100644
--- a/core/modules/field/field.module
+++ b/core/modules/field/field.module
@@ -354,7 +354,7 @@ function field_system_info_alter(&$info, $file, $type) {
       }
       if ($non_deleted) {
         if (module_exists('field_ui')) {
-          $explanation = t('Field type(s) in use - see !link', array('!link' => l(t('Field list'), 'admin/reports/fields')));
+          $explanation = t('Field type(s) in use - see <a href="@fields-page">Field list</a>', array('@fields-page' => url('admin/reports/fields')));
         }
         else {
           $explanation = t('Fields type(s) in use');
-- 
GitLab