From b9802c348d630099a04f749ba458a6b156df7a02 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 8 Oct 2001 08:45:08 +0000 Subject: [PATCH] get rid of some warnings if vfs-symlink stuff is not configured --- infolog/inc/class.boinfolog.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infolog/inc/class.boinfolog.inc.php b/infolog/inc/class.boinfolog.inc.php index 2ea8f525b2..a3547837a5 100644 --- a/infolog/inc/class.boinfolog.inc.php +++ b/infolog/inc/class.boinfolog.inc.php @@ -269,8 +269,8 @@ if ($full_fname) { $full_fname = str_replace('\\\\','/',$full_fname); // vfs uses only '/' - reset($this->link_pathes); - while ((list($valid,$trans) = each($this->link_pathes)) && !$tfname) + @reset($this->link_pathes); + while ((list($valid,$trans) = @each($this->link_pathes)) && !$tfname) { // check case-insensitive for WIN etc. $check = $valid[0] == '\\' || strstr(':',$valid) ? 'eregi' : 'ereg'; $valid2 = str_replace('\\','/',$valid);