Update obj_permissions.php

Upgraded from mysql to MySQLi