A lot of my users are getting a error, from this area called 8: Undefined variable: alternate. Located at Line: 220. Im unsure why.
$alternate = !$alternate;
MessageIndex.template.php
Code: [Select]
// If this person can approve items and we have some awaiting approval tell them.
if (!empty($context['unapproved_posts_message']))
{
echo '
<tr class="windowbg2">
<td colspan="', !empty($context['can_quick_mod']) ? '6' : '5', '">
<span class="alert">!</span> ', $context['unapproved_posts_message'], '
</td>
</tr>';
}
foreach ($context['topics'] as $topic)
{
$alternate = !$alternate;
$alternate = !$alternate;