Page MenuHomePhorge

D25160.1737403209.diff
No OneTemporary

D25160.1737403209.diff

diff --git a/src/applications/settings/panel/PhabricatorExternalEditorSettingsPanel.php b/src/applications/settings/panel/PhabricatorExternalEditorSettingsPanel.php
--- a/src/applications/settings/panel/PhabricatorExternalEditorSettingsPanel.php
+++ b/src/applications/settings/panel/PhabricatorExternalEditorSettingsPanel.php
@@ -39,7 +39,7 @@
$viewer = $this->getViewer();
$pattern = $viewer->getUserSetting(PhabricatorEditorSetting::SETTINGKEY);
- if (!strlen($pattern)) {
+ if (!phutil_nonempty_string($pattern)) {
return null;
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 20:00 (1 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108887
Default Alt Text
D25160.1737403209.diff (567 B)

Event Timeline