I think it is either assumed that the $f_i$ are defined on the same domain $D$, or that (following a common convention) we set $f_i(x)=+\infty$ if $x \notin \mathrm{Dom}(f_i)$. You can easily check that under this convention, the extended $f_i$ still remain convex and the claim is true.