From dbb280602eec2f72e0e9bc6bb7e4594561271346 Mon Sep 17 00:00:00 2001 From: nickw Date: Mon, 24 May 2010 17:24:16 +0000 Subject: 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 --- views/default/output/url.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'views/default/output/url.php') 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']) { -- cgit v1.2.3