1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10:55 +01:00

Fix an issue where the first click on the profile menu collapse link could be swallowed

Summary: `alterClass()` is strict about true/false but we set 0/1 elsewhere.

Test Plan: Collapsed/expanded menu, reloaded expanded menu, clicked collapse, got immediate collapse.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D15087
This commit is contained in:
epriestley 2016-01-22 04:01:55 -08:00
parent 1eec747123
commit 12a8726783

View file

@ -382,7 +382,7 @@ abstract class PhabricatorProfilePanelEngine extends Phobject {
array(
'menuID' => $nav->getMainID(),
'collapseID' => $collapse_id,
'isCollapsed' => $is_collapsed,
'isCollapsed' => (bool)$is_collapsed,
'settingsURI' => $settings_uri,
));