HomePhabricator

Handle possible null $oldRev in DiffViewHeader hook handler

Description

Handle possible null $oldRev in DiffViewHeader hook handler

Sometimes $oldRev can be null (e.g. not a Revision, but
maybe is a missing revision), and also not sure we can be
certain about $newRev being a Revision object.

Bug: T167359
Change-Id: I4c483d711f2ec07a918c708a473aff1b2c150cf5

Details

Provenance
audeAuthored on Jun 8 2017, 2:19 AM
Parents
rERSL5de737982a86: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
ChangeId
I4c483d711f2ec07a918c708a473aff1b2c150cf5