summaryrefslogtreecommitdiff
path: root/includes/upload/UploadStash.php
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-01 19:12:52 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-01 19:12:52 -0400
commitc2bfd4b6e3ef8436c5963ace9435b4c0555f047f (patch)
tree2d0c8f68f18d5f87b3f5bf9980bfcfc3833c4c5e /includes/upload/UploadStash.php
parent3d86add3dfa5e0b3ead9859593d4a52cf7555a34 (diff)
parent3d92394be2570f9f49c7904cacc2bc8d790e72f2 (diff)
Merge branch 'archwiki'
Diffstat (limited to 'includes/upload/UploadStash.php')
-rw-r--r--includes/upload/UploadStash.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/upload/UploadStash.php b/includes/upload/UploadStash.php
index 7db6c64b..ea117378 100644
--- a/includes/upload/UploadStash.php
+++ b/includes/upload/UploadStash.php
@@ -260,7 +260,7 @@ class UploadStash {
'us_key' => $key,
'us_orig_path' => $path,
'us_path' => $stashPath, // virtual URL
- 'us_props' => serialize( $fileProps ),
+ 'us_props' => $dbw->encodeBlob( serialize( $fileProps ) ),
'us_size' => $fileProps['size'],
'us_sha1' => $fileProps['sha1'],
'us_mime' => $fileProps['mime'],