From 427ba66dfe7b2741172b5bd52ff9c45c6fa41b3a Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 25 Aug 2015 08:11:27 +0000 Subject: [PATCH] allow 10, instead of 4 folders for menuaction copy --- mail/inc/class.mail_ui.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 0850fce0fa..7b1aeffe75 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -856,7 +856,7 @@ class mail_ui { $moveaction .= $lastFolderUsedForMoveCont; - if ($this->mail_bo->folderExists($i)) // only 4 entries per mailaccount.Control this on setting the buffered folders + if ($this->mail_bo->folderExists($i)) // only 10 entries per mailaccount.Control this on setting the buffered folders { $fS['profileID'] = $this->mail_bo->profileID; $fS['profileName'] = $accArray[$this->mail_bo->profileID]; @@ -878,7 +878,7 @@ class mail_ui foreach ($lastFoldersUsedForMoveCont[$pid] as $i => $lastFolderUsedForMoveCont) { //error_log(__METHOD__.__LINE__."$i => $lastFolderUsedForMoveCont"); - if (!empty($lastFolderUsedForMoveCont)) // only 4 entries per mailaccount.Control this on setting the buffered folders + if (!empty($lastFolderUsedForMoveCont)) // only 10 entries per mailaccount.Control this on setting the buffered folders { $moveaction = 'move_'; $fS = array(); @@ -4447,7 +4447,7 @@ class mail_ui $keys = array_keys($lastFoldersUsedForMoveCont[$targetProfileID]); foreach( $keys as &$f) { - if (count($lastFoldersUsedForMoveCont[$targetProfileID])>3) unset($lastFoldersUsedForMoveCont[$targetProfileID][$f]); + if (count($lastFoldersUsedForMoveCont[$targetProfileID])>9) unset($lastFoldersUsedForMoveCont[$targetProfileID][$f]); else break; } //error_log(__METHOD__.__LINE__.array2string($lastFoldersUsedForMoveCont[$targetProfileID]));