Update index.php

Should L59 be viewforum.php instead? Didn't dive much into the code but if there's no forum content it will only loop in index.