summaryrefslogtreecommitdiff
path: root/includes/upload/UploadStash.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2014-05-30 06:21:55 +0200
committerPierre Schmitz <pierre@archlinux.de>2014-05-30 06:21:55 +0200
commit3d92394be2570f9f49c7904cacc2bc8d790e72f2 (patch)
treea4d4d6c1db453dd39f2c875797734f13dec6d5a1 /includes/upload/UploadStash.php
parent2e44b49a2db3026050b136de9b00f749dd3ff939 (diff)
Update to MediaWiki 1.22.7
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'],