fix wrong download url

This commit is contained in:
Ralf Becker 2013-12-05 22:46:31 +00:00
parent 2479d85c77
commit 76cf4245e6

View File

@ -187,7 +187,9 @@ class etemplate_widget_template extends etemplate_widget
else
{
// no mtime postfix, as our WebDAV treats ? literal and not ignore them like Apache for static files!
$url = egw::link(egw_vfs::download_url($path));
$url = egw_vfs::download_url($path);
if ($url[0] == '/') $url = egw::link($url);
}
}
//error_log(__METHOD__."('$path') returning $url");