Page MenuHomePhorge

D25817.1734686992.diff
No OneTemporary

D25817.1734686992.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
Fri, Dec 20, 09:29 (20 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016534
Default Alt Text
D25817.1734686992.diff (535 B)

Event Timeline