Spot the bug

Can you spot the bug in the code snippet?

Submit a Puzzle
Past puzzles
Solved:
Streak: