Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2873013
D25834.1736907368.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
516 B
Referenced Files
None
Subscribers
None
D25834.1736907368.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 15, 02:16 (5 d, 23 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113952
Default Alt Text
D25834.1736907368.diff (516 B)
Attached To
Mode
D25834: DarkConsole: Fix "strlen(null)" but for the "tab" query parameter
Attached
Detach File
Event Timeline
Log In to Comment