Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2870791
D25354.1736819725.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
640 B
Referenced Files
None
Subscribers
None
D25354.1736819725.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 = phutil_nonempty_string($message);
$is_stop = $args->getArg('stop');
if (!$is_start && !$is_stop) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 14, 01:55 (4 d, 2 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113690
Default Alt Text
D25354.1736819725.diff (640 B)
Attached To
Mode
D25354: Fix PHP 8.1 strlen(null) when taking a repo out of maintenance mode.
Attached
Detach File
Event Timeline
Log In to Comment