Update detail.category.php

Integrity checks