egw_vfs::download_url requires egw::link, as it is relative to egroupware dir

This commit is contained in:
Ralf Becker 2009-11-28 16:23:52 +00:00
parent 611c36026f
commit 9e5c2633d4

View File

@ -863,7 +863,7 @@ class html
{ {
if (substr($name,0,5) == 'vfs:/') // vfs pseudo protocoll 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 (is_array($name)) // menuaction and other get-vars if (is_array($name)) // menuaction and other get-vars
{ {