HomePhabricator

Fix a fatal for 404s in Phriction

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

Provenance
epriestleyAuthored on
epriestleyPushed on Apr 13 2015, 9:44 PM
Reviewer
btrahan
Differential Revision
D12401: Fix a fatal for 404s in Phriction
Parents
rPdd22db18ff82: Conpherence - make `ZXXX` monograms a bit more useful.
Branches
Unknown
Tags
Unknown
Tasks
T7817: Fatal for invalid Phriction document