mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +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