From 79577722d9d294e8161cc33a1953cff7ca6b7acd Mon Sep 17 00:00:00 2001 From: tokul Date: Wed, 6 Jul 2005 15:46:01 +0000 Subject: [PATCH] code might create undefined function error if used. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9726 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/tree.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/tree.php b/functions/tree.php index 7850c8cb..d7e11122 100644 --- a/functions/tree.php +++ b/functions/tree.php @@ -159,6 +159,7 @@ function walkTreeInPostOrderCreatingFoldersUnderTrash($index, $imap_stream, $tre $mbx_response = sqimap_mailbox_select($imap_stream, $tree[$index]['value']); $messageCount = $mbx_response['EXISTS']; if ($messageCount > 0) { + // FIXME: broken call sqimap_messages_copy($imap_stream, 1, '*', $trash_folder . $delimiter . $subFolderName); } // after copy close the mailbox to get in unselected state @@ -170,6 +171,7 @@ function walkTreeInPostOrderCreatingFoldersUnderTrash($index, $imap_stream, $tre $mbx_response = sqimap_mailbox_select($imap_stream, $tree[$index]['value']); $messageCount = $mbx_response['EXISTS']; if ($messageCount > 0) { + // FIXME: broken call sqimap_messages_copy($imap_stream, 1, '*', $trash_folder . $delimiter . $subFolderName); } // after copy close the mailbox to get in unselected state -- 2.25.1