mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
define $data array at the correct location. ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10123 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a5e4ca259a
commit
dc4619c889
1 changed files with 2 additions and 3 deletions
|
@ -118,8 +118,6 @@ function view_folder($id, $mode, $folder_id, $folder)
|
|||
$address_list = get_recipient_strings($folder_info['rowset']);
|
||||
}
|
||||
|
||||
$data = array();
|
||||
|
||||
foreach ($folder_info['pm_list'] as $message_id)
|
||||
{
|
||||
$row = &$folder_info['rowset'][$message_id];
|
||||
|
@ -196,7 +194,8 @@ function view_folder($id, $mode, $folder_id, $folder)
|
|||
else
|
||||
{
|
||||
// Build Recipient List if in outbox/sentbox
|
||||
$address = array();
|
||||
$address = $data = array();
|
||||
|
||||
if ($folder_id == PRIVMSGS_OUTBOX || $folder_id == PRIVMSGS_SENTBOX)
|
||||
{
|
||||
foreach ($folder_info['rowset'] as $message_id => $row)
|
||||
|
|
Loading…
Add table
Reference in a new issue