mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
fix wrong download url
This commit is contained in:
parent
2479d85c77
commit
76cf4245e6
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user