missing variable

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4867 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2004-03-18 18:16:21 +00:00
parent b580dca7fc
commit c1606f686a

View file

@ -2076,6 +2076,7 @@ if ( !($result = $db->sql_query($sql)) )
if ( $row = $db->sql_fetchrow($result) ) if ( $row = $db->sql_fetchrow($result) )
{ {
$i = 0;
do do
{ {
$privmsg_id = $row['privmsgs_id']; $privmsg_id = $row['privmsgs_id'];
@ -2110,6 +2111,7 @@ if ( $row = $db->sql_fetchrow($result) )
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2']; $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2']; $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$i++;
$template->assign_block_vars('listrow', array( $template->assign_block_vars('listrow', array(
'ROW_COLOR' => '#' . $row_color, 'ROW_COLOR' => '#' . $row_color,