laravel/framework — pull request #5801 by dwightwatson (2014-09-24 02:50:55+00:00)
Title: Owners should only be touched if they exist

If the model has an optional belongs to relationship then the call to `touchOwners()` would be called upon `null`, crashing the app. For this reason, touching should only continue if the relation actually exists.