From 44c3f06ab96d168f6df6fd665e7d35983060a38b Mon Sep 17 00:00:00 2001 From: Chad Little Date: Tue, 22 Mar 2016 12:21:14 -0700 Subject: [PATCH] Fix Phortune cart fatal Summary: This is failing locally for me, set to getViewer and pull up cart. Test Plan: View cart with a description. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15509 --- src/applications/phortune/controller/PhortuneCartController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/phortune/controller/PhortuneCartController.php b/src/applications/phortune/controller/PhortuneCartController.php index 9fefc7db6e..628a466056 100644 --- a/src/applications/phortune/controller/PhortuneCartController.php +++ b/src/applications/phortune/controller/PhortuneCartController.php @@ -48,7 +48,7 @@ abstract class PhortuneCartController return null; } - $output = new PHUIRemarkupView($this->getUser(), $description); + $output = new PHUIRemarkupView($this->getViewer(), $description); $box = id(new PHUIBoxView()) ->addMargin(PHUI::MARGIN_LARGE)