diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-24 17:24:16 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-24 17:24:16 +0000 |
commit | dbb280602eec2f72e0e9bc6bb7e4594561271346 (patch) | |
tree | cfa4b590d7fab5177da3bd2ba594c81b27f405eb /views/default/output/url.php | |
parent | 1028a8b6ce4dfffaf62d931cd0c037c751daef7a (diff) | |
download | elgg-dbb280602eec2f72e0e9bc6bb7e4594561271346.tar.gz elgg-dbb280602eec2f72e0e9bc6bb7e4594561271346.tar.bz2 |
Ensuring text displays on URL view for both "value" and "html" sent as property.
git-svn-id: http://code.elgg.org/elgg/trunk@6181 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/output/url.php')
-rw-r--r-- | views/default/output/url.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/views/default/output/url.php b/views/default/output/url.php index 19ad331e1..c5058f18e 100644 --- a/views/default/output/url.php +++ b/views/default/output/url.php @@ -19,6 +19,9 @@ */ $url = trim($vars['href']); +if (!$url and isset($vars['value'])) { + $url = trim($vars['value']); +} if (!empty($url)) { if (array_key_exists('target', $vars) && $vars['target']) { |