bummer.
it is fixable but you'll have to be more careful from now on. electricity and water mix far too well.
Unplug the filter, cut the wire cleanly, join the wire together properly and use heat shrink wrap to seal it.
if in doubt get someone who knows what to do to fix it. do not take a chance.
are you sure that's the problem though?