Page MenuHomePhabricator

Fix an undefined variable
ClosedPublic

Authored by joshuaspence on Dec 8 2014, 12:10 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 15 2024, 4:24 PM
Unknown Object (File)
Feb 6 2024, 4:08 AM
Unknown Object (File)
Jan 31 2024, 8:58 PM
Unknown Object (File)
Jan 31 2024, 8:22 PM
Unknown Object (File)
Jan 31 2024, 8:10 PM
Unknown Object (File)
Jan 31 2024, 6:38 PM
Unknown Object (File)
Jan 31 2024, 5:53 PM
Unknown Object (File)
Jan 28 2024, 6:48 PM
Subscribers

Details

Reviewers
hach-que
epriestley
btrahan
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rP9e54e6e88661: 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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Fix an undefined variable.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
epriestley edited edge metadata.
This revision is now accepted and ready to land.Dec 8 2014, 12:10 PM
This revision was automatically updated to reflect the committed changes.

I have so many unearned internet points

Thanks for fixing this and sorry for the slop!

src/applications/harbormaster/controller/HarbormasterStepEditController.php
192

this xaction_view can probably go if someone needs internet points. :D