Update admin.php

Fixed a logical error