Update class.database.php - Added InArray