diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-09-13 21:22:28 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-09-13 21:22:28 -0400 |
commit | 61337b126e0ee3a316f5cb9faf8982b0803793a4 (patch) | |
tree | 179ac6c9d0b2ce25c8ee74c3b3b4c96eb5f4a9e4 /views | |
parent | 3161a7b0b27508066f26b8cd920b1817f23beeef (diff) | |
download | elgg-61337b126e0ee3a316f5cb9faf8982b0803793a4.tar.gz elgg-61337b126e0ee3a316f5cb9faf8982b0803793a4.tar.bz2 |
Fixes #3811 defaulting title to confirm text if passed to output/confirmlink
Diffstat (limited to 'views')
-rw-r--r-- | views/default/output/confirmlink.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/output/confirmlink.php b/views/default/output/confirmlink.php index 5059a656e..31a34ae63 100644 --- a/views/default/output/confirmlink.php +++ b/views/default/output/confirmlink.php @@ -25,8 +25,8 @@ if ($encode) { $text = htmlspecialchars($text, ENT_QUOTES, 'UTF-8', false); } -if (!isset($vars['title'])) { - $vars['title'] = addslashes($confirm); +if (!isset($vars['title']) && isset($vars['confirm'])) { + $vars['title'] = $vars['rel']; } if (isset($vars['class'])) { |