aboutsummaryrefslogtreecommitdiff
path: root/views/default/output
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-11 01:12:37 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-11 01:12:37 +0000
commit1fd766282fccbcc6597122f7580ee638cdb62c02 (patch)
treeaa7c4cb29c0b2e071cb119d1dc9f4936f3ae6dd5 /views/default/output
parent613691d40f6d5097442653c8c82e683d1a8466ce (diff)
downloadelgg-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
Diffstat (limited to 'views/default/output')
-rw-r--r--views/default/output/url.php4
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)) {