Skip to content

Commit

Permalink
Fix serialiser derping out
Browse files Browse the repository at this point in the history
  • Loading branch information
thaiphan committed Jun 14, 2018
1 parent 3996df6 commit 89e61ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/MediaStorage/File/Storage/S3.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function init()
protected function getSerializer()
{
// Magento Version 2.1.*
$serializer = \Zend_Serializer::factory(\Zend_Serializer_Adapter_PhpSerialize::class);
$serializer = \Zend\Serializer\Serializer::factory(\Zend\Serializer\Adapter\PhpSerialize::class);

// Magento Version 2.2.*
if (class_exists(\Magento\Framework\Serialize\Serializer\Serialize::class)) {
Expand Down

0 comments on commit 89e61ba

Please sign in to comment.