Page MenuHomePhorge

D25834.1731153544.diff
No OneTemporary

D25834.1731153544.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
@@ -35,7 +35,7 @@
}
$tab = $request->getStr('tab');
- if (strlen($tab)) {
+ if (phutil_nonempty_string($tab)) {
$this->writeDarkConsoleSetting(
PhabricatorDarkConsoleTabSetting::SETTINGKEY,
$tab);

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 9, 11:59 (10 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
962747
Default Alt Text
D25834.1731153544.diff (516 B)

Event Timeline