HomePhorge

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 Apr 13 2015, 2:44 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPdd22db18ff82: Conpherence - make `ZXXX` monograms a bit more useful.
Branches
Unknown
Tags
Unknown

Event Timeline