Set link to type array if it is null
Change shorthand syntax to function with PHP below version 5.3
Merge pull request #365 from j420n/glossary_link

Set link to type array if it is null