Missing $params in view.php