Fixed default param in view.php