Page MenuHomePhorge

D25380.1739161856.diff
No OneTemporary

D25380.1739161856.diff

diff --git a/src/applications/notification/config/PhabricatorNotificationServersConfigType.php b/src/applications/notification/config/PhabricatorNotificationServersConfigType.php
--- a/src/applications/notification/config/PhabricatorNotificationServersConfigType.php
+++ b/src/applications/notification/config/PhabricatorNotificationServersConfigType.php
@@ -92,7 +92,7 @@
}
$path = idx($spec, 'path');
- if ($type == 'admin' && strlen($path)) {
+ if ($type == 'admin' && phutil_nonempty_string($path)) {
throw $this->newException(
pht(
'Notification server configuration describes an invalid host '.

File Metadata

Mime Type
text/plain
Expires
Feb 10 2025, 04:30 (6 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1147708
Default Alt Text
D25380.1739161856.diff (661 B)

Event Timeline