dingproject/ting — pull request #29 by cableman (2012-02-07 16:01:37+00:00)
Title: Fix empty reference in ting reference formatter

We have a problem where click on a book in the search result would give us a PHP error (501).

See: www.aakb.dk/ting/collection/775100%3A28486006

The error was triggered in __ting_collection_preprocess(TingClientObjectCollection $collection)__ when __$collection__ where of the type __StdObject__. We traced it back to __theme_ting_reference_formatter_default($element)__ where __theme('ting_search_collection', $collection)__ is called.

For more information see [#](http://libraryding.lighthouseapp.com/projects/27862/tickets/1864)