darthapo/liquid.js — Issue #9: Fixed Bug in Liquid.Context.variable
Author: alluran
Created: 2012-02-13 04:32:30+00:00
State: open

```javascript
// No key was present with the desired value and it wasn't one of the directly supported
// keywords either. The only thing we got left is to return nil
else {
return null;
}
```

Becomes

```javascript
// No key was present with the desired value and it wasn't one of the directly supported
// keywords either. The only thing we got left is to return nil
else {
object = null;
// return null;
}
```

This fixes an issue where attempting to access a null property on an object would return the parent object