As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
FLT 1717 MCO-SDQ, AIR RETURN TO MCO DUE TO FLIGHT DECK DOOR OPENED AND WILL/WOULD NOT CLOSE ON TAKEOFF. ACCOMPLISHED E/C E12-515-01. ADDITION OF SPACER BEHIND LOWER HINGE SOCKET. REMOVED & REPLACED UPPER DOOR HINGE AND PIN & LOWER DOOR HINGE AND PIN ASSEMBLIES IAW AMM 52-51-01. CHECK OK.