Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15390858
D16598.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
714 B
Referenced Files
None
Subscribers
None
D16598.id.diff
View Options
diff --git a/src/applications/files/controller/PhabricatorFileImageProxyController.php b/src/applications/files/controller/PhabricatorFileImageProxyController.php
--- a/src/applications/files/controller/PhabricatorFileImageProxyController.php
+++ b/src/applications/files/controller/PhabricatorFileImageProxyController.php
@@ -99,7 +99,7 @@
->setViewer(PhabricatorUser::getOmnipotentUser())
->withPHIDs(array($request->getFilePHID()))
->executeOne();
- if (!file) {
+ if (!$file) {
throw new Exception(pht(
'The underlying file does not exist, but the cached request was '.
'successful. This likely means the file record was manually deleted '.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 16, 7:06 AM (6 d, 8 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7387783
Default Alt Text
D16598.id.diff (714 B)
Attached To
Mode
D16598: Fix a bug in the imageproxy controller
Attached
Detach File
Event Timeline
Log In to Comment