Page MenuHomePhorge

D25817.1737494796.diff
No OneTemporary

D25817.1737494796.diff

diff --git a/src/applications/files/controller/PhabricatorFileViewController.php b/src/applications/files/controller/PhabricatorFileViewController.php
--- a/src/applications/files/controller/PhabricatorFileViewController.php
+++ b/src/applications/files/controller/PhabricatorFileViewController.php
@@ -316,7 +316,7 @@
}
$default_alt = $file->getDefaultAltText();
- if (strlen($default_alt)) {
+ if (phutil_nonempty_string($default_alt)) {
$finfo->addProperty(pht('Default Alt Text'), $default_alt);
}

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 21, 21:26 (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113945
Default Alt Text
D25817.1737494796.diff (535 B)

Event Timeline