Page MenuHomePhorge

D25611.1737679029.diff
No OneTemporary

D25611.1737679029.diff

diff --git a/src/applications/paste/xaction/PhabricatorPasteLanguageTransaction.php b/src/applications/paste/xaction/PhabricatorPasteLanguageTransaction.php
--- a/src/applications/paste/xaction/PhabricatorPasteLanguageTransaction.php
+++ b/src/applications/paste/xaction/PhabricatorPasteLanguageTransaction.php
@@ -14,7 +14,7 @@
}
private function renderLanguageValue($value) {
- if (!strlen($value)) {
+ if (!phutil_nonempty_string($value)) {
return $this->renderValue(pht('autodetect'));
} else {
return $this->renderValue($value);

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 00:37 (6 d, 12 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108966
Default Alt Text
D25611.1737679029.diff (568 B)

Event Timeline