mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Fix an undefined variable
Summary: The `$timeline` variable is undefined. I was seeing the following error in the logs: ``` EXCEPTION: (RuntimeException) Undefined variable: timeline at [<phutil>/src/error/PhutilErrorHandler.php:210] #0 PhutilErrorHandler::handleError(integer, string, string, integer, array) called at [<phabricator>/src/applications/harbormaster/controller/HarbormasterStepEditController.php:205] #1 HarbormasterStepEditController::processRequest() called at [<phabricator>/src/aphront/AphrontController.php:33] #2 AphrontController::handleRequest(AphrontRequest) called at [<phabricator>/webroot/index.php:103] ``` Test Plan: Created a build step without a fatal error. Reviewers: btrahan, hach-que, epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D10941
This commit is contained in:
parent
46b775820a
commit
9e54e6e886
1 changed files with 1 additions and 0 deletions
|
@ -190,6 +190,7 @@ final class HarbormasterStepEditController extends HarbormasterController {
|
||||||
|
|
||||||
if ($is_new) {
|
if ($is_new) {
|
||||||
$xaction_view = null;
|
$xaction_view = null;
|
||||||
|
$timeline = null;
|
||||||
} else {
|
} else {
|
||||||
$timeline = $this->buildTransactionTimeline(
|
$timeline = $this->buildTransactionTimeline(
|
||||||
$step,
|
$step,
|
||||||
|
|
Loading…
Reference in a new issue