Fixed view.php

Mistyped constant