From 2248427e48ae162b1b967df332668bc6fceba3a5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 8 Apr 2009 09:10:07 +0000 Subject: [PATCH] "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!" --- phpgwapi/inc/class.egw_link.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_link.inc.php b/phpgwapi/inc/class.egw_link.inc.php index 0d3db245c7..a230d38ece 100644 --- a/phpgwapi/inc/class.egw_link.inc.php +++ b/phpgwapi/inc/class.egw_link.inc.php @@ -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 }