From d4869ec11ab19f7c3866dfe6131a8d59ef99a304 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 23 Apr 2010 16:08:04 +0000 Subject: [PATCH] makeing clickable again --- phpgwapi/inc/class.groupdav.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.groupdav.inc.php b/phpgwapi/inc/class.groupdav.inc.php index 8c6cc9b5cf..b686c13f1c 100644 --- a/phpgwapi/inc/class.groupdav.inc.php +++ b/phpgwapi/inc/class.groupdav.inc.php @@ -598,9 +598,9 @@ class groupdav extends HTTP_WebDAV_Server } $value = htmlspecialchars(array2string($value)); } - elseif (preg_match('/^https?:\/\//',$value)) + elseif (preg_match('/\<(D:)?href\>[^<]+\<\/(D:)?href\>/i',$value)) { - $value = html::a_href($value,$value); + $value = preg_replace('/\<(D:)?href\>([^<]+)\<\/(D:)?href\>/i','<\\1href>\\2</\\3href>
',$value); } else {