From 51f8d5b7b0d9f0039cdacf1513d582ac55c53461 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 28 Nov 2009 10:31:20 +0000 Subject: [PATCH] egw_vfs::download_url requires egw::link, as it is relative to egroupware dir --- phpgwapi/inc/class.html.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index 9494129544..d193fe4524 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -891,7 +891,7 @@ class html } if (substr($name,0,5) == 'vfs:/') // vfs pseudo protocoll { - $name = egw_vfs::download_url(substr($name,4)); + $name = egw::link(egw_vfs::download_url(substr($name,4))); } if ($name[0] == '/' || substr($name,0,7) == 'http://' || substr($name,0,8) == 'https://' || stripos($name,'etemplate/thumbnail.php') ) {