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 @@ -1,62 +1,62 @@ getPurchases() as $purchase) { $rows[] = array( $purchase->getFullDisplayName(), $purchase->getBasePriceAsCurrency()->formatForDisplay(), $purchase->getQuantity(), $purchase->getTotalPriceAsCurrency()->formatForDisplay(), ); } $rows[] = array( phutil_tag('strong', array(), pht('Total')), '', '', phutil_tag('strong', array(), $cart->getTotalPriceAsCurrency()->formatForDisplay()), ); $table = new AphrontTableView($rows); $table->setHeaders( array( pht('Item'), pht('Price'), pht('Qty.'), pht('Total'), )); $table->setColumnClasses( array( 'wide', 'right', 'right', 'right', )); return $table; } protected function renderCartDescription(PhortuneCart $cart) { $description = $cart->getDescription(); if (!strlen($description)) { return null; } - $output = new PHUIRemarkupView($this->getUser(), $description); + $output = new PHUIRemarkupView($this->getViewer(), $description); $box = id(new PHUIBoxView()) ->addMargin(PHUI::MARGIN_LARGE) ->appendChild($output); return id(new PHUIObjectBoxView()) ->setHeaderText(pht('Description')) ->appendChild($box); } }