ding2tal/ting — pull request #6 by ramlev (2014-01-07 10:41:48+00:00)
Title: Fix loading of uncached ting objects

During our work with ding2tal we've had problems loading objects. After going through the code, we've seen that the problem is that the id of the object maps to a NULL value, set in line 132, 136. The if statement does a strict comparison for a FALSE value, which means that the object is never loaded.

The problem occurs when trying to attach a ting_reference object, when the object isn't in the local cache.

![screenshot 2014-01-07 11 38 45](https://f.cloud.github.com/assets/74152/1858224/2b5f83d0-7788-11e3-996f-bba970fb0b4c.png)

The environment we've tested on is php 5.3.27.