If the leak is at the threaded connection to the pump with the grey tube as shown here...
...just cut out a section of pipe approx halfway and put in a union, there should have been a union there anyway and you have plenty of material to glue one in.
Here is what some of them look like, make sure the o-ring is in there when you purchase it...they seem to go missing in the plumbing isle a lot.
You might even have room for a union ball valve which might make life easier when your cleaning the basket;
To figure out how much material to cut out of the pipe measure across the pipe stops inside the union and add 1/8", this will give you room while the glue sets up and prevent straining the rest of the pipe in case it was strained when it was originally glued. Scuff the plastic pipe with sandpaper or scotchbrite before applying the glue to remove any mold release agent and get a clean surface, do the union/ball valve interior part too.
Your leak is likely from the threaded connection at the pump and it looks like pipe dope was used as a sealant which doesn't work on plastic pipe all that well, I would use IPS WELD-ON All Seal. When you cut the pipe and get it unthreaded from the pump check the pipe threaded section carefully (check the pump housing too it might be cracked!), it may be damaged and require a new section...you can buy lengths pre-threaded from most hardware stores and you can cut to length as required. When re-installing turn in hand tight and then 1/2 -1 turn further with a strap wrench...don't overtighten (thats likely how it started leaking in the first place). You can try using teflon tape but use at least 4-6 wraps, it doesn't always work on plastic pipe so beware (it usually depends on if the threads were cut or molded, molded doesn't always seal because of the parting line on the thread).