Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2683703
D25296.1734687958.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
625 B
Referenced Files
None
Subscribers
None
D25296.1734687958.diff
View Options
diff --git a/src/applications/repository/management/PhabricatorRepositoryManagementMaintenanceWorkflow.php b/src/applications/repository/management/PhabricatorRepositoryManagementMaintenanceWorkflow.php
--- a/src/applications/repository/management/PhabricatorRepositoryManagementMaintenanceWorkflow.php
+++ b/src/applications/repository/management/PhabricatorRepositoryManagementMaintenanceWorkflow.php
@@ -42,7 +42,7 @@
}
$message = $args->getArg('start');
- $is_start = (bool)strlen($message);
+ $is_start = $message !== null;
$is_stop = $args->getArg('stop');
if (!$is_start && !$is_stop) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 09:45 (17 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1017238
Default Alt Text
D25296.1734687958.diff (625 B)
Attached To
Mode
D25296: Fix PHP 8.1 "strlen(null)" exception trying to stop maintenance mode of Diffusion repo
Attached
Detach File
Event Timeline
Log In to Comment