ezsystems/ezpublish-kernel — pull request #444 by lolautruche (2013-07-07 19:27:31+00:00)
Title: Fix EZP-21188: "Notice: Undefined variable: response" triggered when vie...

...wing a content with ezobjectrelationlist.

Moved build of the response out of the try block in viewLocation() and viewContent(), to ensure $response is always correctly generated.
Furthermore got rid of Etag / LastModified response headers when viewing a content since it's useless / error prone because of client cache (aligned on cache of viewLocation).