From 1fd766282fccbcc6597122f7580ee638cdb62c02 Mon Sep 17 00:00:00 2001 From: brettp Date: Thu, 11 Feb 2010 01:12:37 +0000 Subject: Made the output/url view backward compatible for the few plugins that used it. git-svn-id: http://code.elgg.org/elgg/trunk@3929 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/output/url.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'views/default') diff --git a/views/default/output/url.php b/views/default/output/url.php index b77ffbf00..a2e659854 100644 --- a/views/default/output/url.php +++ b/views/default/output/url.php @@ -17,6 +17,10 @@ * */ +if (isset($vars['value'])) { + $vars['href'] = $vars['value']; +} + $url = trim($vars['href']); if (!empty($url)) { -- cgit v1.2.3