Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2607333
D25834.1731138436.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.1731138436.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, 07:47 (6 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
962747
Default Alt Text
D25834.1731138436.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