Page MenuHomePhorge

D25188.1734996528.diff
No OneTemporary

D25188.1734996528.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
Mon, Dec 23, 23:28 (18 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1027424
Default Alt Text
D25188.1734996528.diff (545 B)

Event Timeline