Issue #2142375 by gmclelland, Dave Reid: fixed Fatal error when adding 2 pdfs at file/add with media, multiform, and plupload