Update CustomVotesPlugin.php

updated in the core repository