Bug 1209483 - Fix adding media to individual and call to undefined function linkMedia