Empty $integrations array prevents defining $links

Empty $integrations array prevents defining $links which causes a notice for undefined var and warning in `implode()`
Merge pull request #2244 from entr/patch-1

Empty $integrations array prevents defining $links