Author: leithoff
New Revision: 27301
URL: http://www.egroupware.org/viewvc/egroupware?rev=27301&view=rev
Log:
bugfix for files got lost, while converting to infolog immediately after send, if attached via vfs
Modified:
trunk/infolog/inc/class.infolog_bo.inc.php
Modified: trunk/infolog/inc/class.infolog_bo.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/infolog/inc/class.infolog_bo.inc.php?rev=27301&r1=27300&r2=27301&view=diff
— trunk/infolog/inc/class.infolog_bo.inc.php (original)
+++ trunk/infolog/inc/class.infolog_bo.inc.php Mon Jun 22 16:46:10 2009
@@ -853,7 +853,12 @@
{
foreach ($_attachments as $attachment)
{
-
if(is_readable($attachment['tmp_name']))
-
$is_vfs = false; -
if (parse_url($attachment['tmp_name'],PHP_URL_SCHEME) == 'vfs' && egw_vfs::is_readable($attachment['tmp_name'])) -
{ -
$is_vfs = true; -
} -
if(is_readable($attachment['tmp_name']) || $is_vfs) { egw_link::link('infolog',$info['link_to']['to_id'],'file',$attachment); }
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs