From 92aaffd0c572080b2fa5c11e6130763a00f9cd7e Mon Sep 17 00:00:00 2001 From: vrana Date: Wed, 3 Oct 2012 11:38:49 -0700 Subject: [PATCH] Fix inconsistence in declared VS used property Summary: Found by D3601. Test Plan: Loaded revision. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3603 --- src/view/layout/AphrontSideNavView.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/view/layout/AphrontSideNavView.php b/src/view/layout/AphrontSideNavView.php index 08419ede20..6e032a1bd6 100644 --- a/src/view/layout/AphrontSideNavView.php +++ b/src/view/layout/AphrontSideNavView.php @@ -52,7 +52,7 @@ final class AphrontSideNavView extends AphrontView { } public function setFlexible($flexible) { - $this->flexible = $flexible; + $this->isFlexible = $flexible; return $this; } @@ -91,7 +91,7 @@ final class AphrontSideNavView extends AphrontView { ), $apps->render()); - if ($this->flexible) { + if ($this->isFlexible) { $drag_id = celerity_generate_unique_node_id(); $flex_bar = phutil_render_tag( 'div',