As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
ATC DECLARED EMERGENCY FOR AIRCRAFT CREW. DISCREPANCY: FLAPS WOULD NOT EXTEND BEYOND 12 DEGREES AND "B" SYSTEM HYDRAULIC QUANTITY AT 51%. CORRECTIVE ACTION: CHECKED FUNCTION OF TRAILING EDGE FLAP SYSTEM IAW B737-800 AMM 27-51-00 AND SERVICED HYDRAULIC FLUID SYSTEM "B" IAW B737-800 AMM 12-12-00.