Toilet hook up problem

Guys, any suggestions on how i can hook up my new toilet? as you can see from the picture someone cut the flex pipe, (There is no extra pipe behind the panel) so i am left with a 90' turn for the hook up, i am thinking of a PVC 90' elbow and a short piece of PVC pipe inside the flex pipe to make the connection, will the elbow cause a constriction point?


Comments
90BK 90-degree bend kit#9108553351
90-degree Bend Kit
Provides smooth sweep corner to eliminate kink. Includes two adapters.
Key benefits
So a plumbing elbow with the inside diameter of the fitting on the toilet will not work?
I was looking online but i have had no luck finding an elbow at Jamestown distributors where i got the toilet nor west marine.