/**
* Replace From => To in case it concerns a draft or sent folder
*/
+$aColumns = array();
if (($mailbox == $sent_folder || $mailbox == $draft_folder) &&
!in_array(SQM_COL_TO,$index_order)) {
$aNewOrder = array(); // nice var name ;)
if ($iCol == SQM_COL_FROM) {
$iCol = SQM_COL_TO;
}
- $aNewOrder[] = $iCol;
+ $aColumns[$iCol] = array();
}
- $aColumns = $aNewOrder;
} else {
- $aColumns = $index_order;
+ foreach ($index_order as $iCol) {
+ $aColumns[$iCol] = array();
+ }
}
$aProps = array(
}
$header = $message->header;
-$header = $message->header;
-
/****************************************/
/* Block for handling incoming url vars */