|
@@ -827,6 +827,7 @@ $aMailbox = sqm_api_mailbox_select($imapConnection, $iAccount, $mailbox,array('s
|
|
/**
|
|
/**
|
|
* Replace From => To in case it concerns a draft or sent folder
|
|
* Replace From => To in case it concerns a draft or sent folder
|
|
*/
|
|
*/
|
|
|
|
+$aColumns = array();
|
|
if (($mailbox == $sent_folder || $mailbox == $draft_folder) &&
|
|
if (($mailbox == $sent_folder || $mailbox == $draft_folder) &&
|
|
!in_array(SQM_COL_TO,$index_order)) {
|
|
!in_array(SQM_COL_TO,$index_order)) {
|
|
$aNewOrder = array(); // nice var name ;)
|
|
$aNewOrder = array(); // nice var name ;)
|
|
@@ -834,11 +835,12 @@ if (($mailbox == $sent_folder || $mailbox == $draft_folder) &&
|
|
if ($iCol == SQM_COL_FROM) {
|
|
if ($iCol == SQM_COL_FROM) {
|
|
$iCol = SQM_COL_TO;
|
|
$iCol = SQM_COL_TO;
|
|
}
|
|
}
|
|
- $aNewOrder[] = $iCol;
|
|
|
|
|
|
+ $aColumns[$iCol] = array();
|
|
}
|
|
}
|
|
- $aColumns = $aNewOrder;
|
|
|
|
} else {
|
|
} else {
|
|
- $aColumns = $index_order;
|
|
|
|
|
|
+ foreach ($index_order as $iCol) {
|
|
|
|
+ $aColumns[$iCol] = array();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
$aProps = array(
|
|
$aProps = array(
|
|
@@ -923,8 +925,6 @@ if (isset($passed_ent_id) && $passed_ent_id) {
|
|
}
|
|
}
|
|
$header = $message->header;
|
|
$header = $message->header;
|
|
|
|
|
|
-$header = $message->header;
|
|
|
|
-
|
|
|
|
|
|
|
|
/****************************************/
|
|
/****************************************/
|
|
/* Block for handling incoming url vars */
|
|
/* Block for handling incoming url vars */
|