From c1606f686a51176256460fc9ed346c675b4b2761 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Thu, 18 Mar 2004 18:16:21 +0000 Subject: [PATCH] missing variable git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@4867 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/privmsg.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index 576c4b5685..bae5368809 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -2076,6 +2076,7 @@ if ( !($result = $db->sql_query($sql)) ) if ( $row = $db->sql_fetchrow($result) ) { + $i = 0; do { $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_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2']; + $i++; $template->assign_block_vars('listrow', array( 'ROW_COLOR' => '#' . $row_color,