better fix for the Profile.template.php if no Post exits.

Signed-off-by: PortaMx (Feline) <support@portamx.com>