1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-26 23:40:57 +01:00

Fix an error in DiffusionBrowseTableView with SVN repsositories with no lint information

Summary: If the repository has no lint information, we don't set a 'lint' key, but try to access it unconditionally later on.

Test Plan: Looked at an SVN repository browse view, saw no errors.

Reviewers: vrana, btrahan, codeblock

Reviewed By: codeblock

CC: aran

Maniphest Tasks: T2281

Differential Revision: https://secure.phabricator.com/D4359
This commit is contained in:
epriestley 2013-01-08 09:50:03 -08:00
parent 4adf55919c
commit df2c811a54

View file

@ -72,6 +72,7 @@ final class DiffusionBrowseTableView extends DiffusionView {
'time' => $time,
'author' => $author,
'details' => $details,
'lint' => null,
);
$lint = self::loadLintMessagesCount($drequest);