From: brettp Date: Thu, 11 Feb 2010 01:12:37 +0000 (+0000) Subject: Made the output/url view backward compatible for the few plugins that used it. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1fd766282fccbcc6597122f7580ee638cdb62c02;p=lorea%2Felgg.git 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 --- 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)) {