From: Coleman Watts Date: Thu, 21 Aug 2014 12:43:45 +0000 (+0100) Subject: Fix invalad html in sort links X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7326b30210a1e867742fce1f8b3e26b966e62b80;p=civicrm-core.git Fix invalad html in sort links --- diff --git a/CRM/Utils/Weight.php b/CRM/Utils/Weight.php index df1f36efd3..28822142d0 100644 --- a/CRM/Utils/Weight.php +++ b/CRM/Utils/Weight.php @@ -379,14 +379,14 @@ class CRM_Utils_Weight { $nextID = $ids[$i + 1]; $links = array(); - $url = "{$baseURL}&src=$id"; + $url = "{$baseURL}&src=$id"; if ($prevID != 0) { $alt = ts('Move to top'); - $links[] = "\"$alt\""; + $links[] = "\"$alt\""; $alt = ts('Move up one row'); - $links[] = "\"$alt\""; + $links[] = "\"$alt\""; } else { $links[] = ""; @@ -395,10 +395,10 @@ class CRM_Utils_Weight { if ($nextID != 0) { $alt = ts('Move down one row'); - $links[] = "\"$alt\""; + $links[] = "\"$alt\""; $alt = ts('Move to bottom'); - $links[] = "\"$alt\""; + $links[] = "\"$alt\""; } else { $links[] = "";