mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
"fixed bug reported by Martin Kramer on the German list:
attachments via WebGUI are no longer working: File 'links://default/apps/infolog/1265/2009-04-07_1219.png' is not an absolute path!"
This commit is contained in:
parent
e21fdcc3fc
commit
2248427e48
@ -783,7 +783,7 @@ class egw_link extends solink
|
||||
if (file_exists($entry_dir) || ($Ok = mkdir($entry_dir,0,true)))
|
||||
{
|
||||
if (($Ok = copy($file['tmp_name'],$fname = egw_vfs::concat($entry_dir,$file['name'])) &&
|
||||
($stat = egw_vfs::stat($fname,0))) && $comment)
|
||||
($stat = egw_vfs::url_stat($fname,0))) && $comment)
|
||||
{
|
||||
egw_vfs::proppatch(parse_url($fname,PHP_URL_PATH),array(array('name'=>'comment','val'=>$comment))); // set comment
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user