Page MenuHomePhorge

D25817.1734669389.diff
No OneTemporary

D25817.1734669389.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, 04:36 (15 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016534
Default Alt Text
D25817.1734669389.diff (535 B)

Event Timeline