From: Meik S. <acy...@ph...> - 2009-09-09 08:07:47
|
Author: acydburn Date: Wed Sep 9 09:07:01 2009 New Revision: 10123 Log: define $data array at the correct location. ;) Modified: branches/phpBB-3_0_0/phpBB/includes/ucp/ucp_pm_viewfolder.php Modified: branches/phpBB-3_0_0/phpBB/includes/ucp/ucp_pm_viewfolder.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/includes/ucp/ucp_pm_viewfolder.php (original) --- branches/phpBB-3_0_0/phpBB/includes/ucp/ucp_pm_viewfolder.php Wed Sep 9 09:07:01 2009 *************** *** 118,125 **** $address_list = get_recipient_strings($folder_info['rowset']); } - $data = array(); - foreach ($folder_info['pm_list'] as $message_id) { $row = &$folder_info['rowset'][$message_id]; --- 118,123 ---- *************** *** 196,202 **** else { // Build Recipient List if in outbox/sentbox ! $address = array(); if ($folder_id == PRIVMSGS_OUTBOX || $folder_id == PRIVMSGS_SENTBOX) { foreach ($folder_info['rowset'] as $message_id => $row) --- 194,201 ---- else { // Build Recipient List if in outbox/sentbox ! $address = $data = array(); ! if ($folder_id == PRIVMSGS_OUTBOX || $folder_id == PRIVMSGS_SENTBOX) { foreach ($folder_info['rowset'] as $message_id => $row) |