diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-11 01:12:37 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-02-11 01:12:37 +0000 |
commit | 1fd766282fccbcc6597122f7580ee638cdb62c02 (patch) | |
tree | aa7c4cb29c0b2e071cb119d1dc9f4936f3ae6dd5 | |
parent | 613691d40f6d5097442653c8c82e683d1a8466ce (diff) | |
download | elgg-1fd766282fccbcc6597122f7580ee638cdb62c02.tar.gz elgg-1fd766282fccbcc6597122f7580ee638cdb62c02.tar.bz2 |
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
-rw-r--r-- | views/default/output/url.php | 4 |
1 files changed, 4 insertions, 0 deletions
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)) { |