Page MenuHomePhorge

D25188.1737423545.diff
No OneTemporary

D25188.1737423545.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
@@ -26,7 +26,7 @@
}
$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
Tue, Jan 21, 01:39 (1 d, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1112826
Default Alt Text
D25188.1737423545.diff (545 B)

Event Timeline