Update media.php

no default for `$attachment`.