From 41673c935f461a5d2956fc46d06a9da0959d12b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Fri, 29 Sep 2006 06:49:31 +0000 Subject: [PATCH] mess protection if something went wrong in tmp dir... --- infolog/inc/class.boinfolog.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/infolog/inc/class.boinfolog.inc.php b/infolog/inc/class.boinfolog.inc.php index 9b4172269b..831c29e39e 100644 --- a/infolog/inc/class.boinfolog.inc.php +++ b/infolog/inc/class.boinfolog.inc.php @@ -660,6 +660,7 @@ { foreach ((array)$contacts as $contact) { + if(!is_readable($attachment['tmp_name'])) continue; $this->link->link('infolog',$info['link_to']['to_id'],'addressbook',$contact['id']); } }