Upper spray arm problems

my wife opened the dishwasher and found the upper spray arm in basket.i looked at the arm and it appears to me to be ok.butwhere it hooks to the machine looks to be broken i was wondering if anybody knows what i need to buy to fix this and if it is something that can be done by the average homeowner.thank tou for any help.

Which spray arm are you talking about: #24A or #24B on the break down diagram?

Gene.