Fix missing brace in report.php else if (!$action)