Update library_files/application/models/flexi_auth_model.php

$row has table info from user_privileges and not user_privilege_users.