Page MenuHomePhorge

D25188.1734977842.diff
No OneTemporary

D25188.1734977842.diff

diff --git a/src/applications/console/controller/DarkConsoleController.php b/src/applications/console/controller/DarkConsoleController.php
--- a/src/applications/console/controller/DarkConsoleController.php
+++ b/src/applications/console/controller/DarkConsoleController.php
@@ -25,8 +25,9 @@
return $response;
}
+ // This should be '0' when closed and '1' when opened
$visible = $request->getStr('visible');
- if (strlen($visible)) {
+ if (phutil_nonempty_string($visible)) {
$this->writeDarkConsoleSetting(
PhabricatorDarkConsoleVisibleSetting::SETTINGKEY,
(int)$visible);

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 23, 18:17 (18 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1027142
Default Alt Text
D25188.1734977842.diff (629 B)

Event Timeline