Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2607604
D25834.1731153544.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.1731153544.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
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)
Attached To
Mode
D25834: DarkConsole: Fix "strlen(null)" but for the "tab" query parameter
Attached
Detach File
Event Timeline
Log In to Comment