Charity raffle falls foul of 'outdated' charity law