Homec4science

Fix a fatal for 404s in Phriction

Authored by epriestley <git@epriestley.com> on Apr 13 2015, 23:44.

Description

Fix a fatal for 404s in Phriction

Summary:
Fixes T7817. Not all documents have $content, so don't try to set a timestamp if there's no content.

An example is /w/asdlkfnalskdnfaslk/, i.e. the 404 document.

Test Plan: Hit /w/junk/ and got a nice 404 instead of a fatal.

Reviewers: chad, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7817

Differential Revision: https://secure.phabricator.com/D12401

Details

Committed
epriestley <git@epriestley.com>Apr 13 2015, 23:44
Pushed
aubortJan 31 2017, 17:16
Parents
rPHdd22db18ff82: Conpherence - make `ZXXX` monograms a bit more useful.
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH281bdf87cf63: Fix a fatal for 404s in Phriction (authored by epriestley <git@epriestley.com>).Apr 13 2015, 23:44