Update admin.php

Fixed logical error in line 936