Page MenuHomePhorge

D25193.1736814568.diff
No OneTemporary

D25193.1736814568.diff

diff --git a/src/applications/pholio/controller/PholioImageUploadController.php b/src/applications/pholio/controller/PholioImageUploadController.php
--- a/src/applications/pholio/controller/PholioImageUploadController.php
+++ b/src/applications/pholio/controller/PholioImageUploadController.php
@@ -18,7 +18,7 @@
return new Aphront404Response();
}
- if (!strlen($title)) {
+ if (!phutil_nonempty_string($title)) {
$title = $file->getName();
}

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 14, 00:29 (1 w, 10 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113635
Default Alt Text
D25193.1736814568.diff (478 B)

Event Timeline