Page MenuHomePhorge

D25193.1734753020.diff
No OneTemporary

D25193.1734753020.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
Sat, Dec 21, 03:50 (17 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1022959
Default Alt Text
D25193.1734753020.diff (478 B)

Event Timeline