The photoproduction of ω mesons on LH_2, C and Nb has been studied for incident photon energies from 900 to 1300 MeV using the CB/TAPS detector at ELSA. The ω line shape does not show any significant difference between the LH_2 and the Nb targets. The data are compared with results of transport calculations that predict a sensitivity of the ω line shape to in-medium modifications near the production threshold on a free nucleon of Eγlab = 1109 MeV.}