mi3ll/silverstripe-linkable — pull request #1 by mi3ll (2014-08-20 03:11:59+00:00)
Title: FIX: Check for component only if there is a Type selected

If there is no Type on the Link, an 'Array to String' error will pop-up, since using DataObject->has_one with no argument outputs all has_one components of the DataObject.