octobercms/library — pull request #54 by scottbedard (2014-12-10 09:50:21+00:00)
Title: Update Model.php

I was having issues where my application would crash when I tried to push a model with null relationships. This check prevents the crash by returning false when a null value is encountered.