Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Adyen Magento2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shared Libs
Adyen Magento2
Commits
c8bf0c44
Commit
c8bf0c44
authored
Dec 15, 2017
by
Rik ter Beek
Committed by
GitHub
Dec 15, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #218 from mwienk/develop
Config import with serialized value
parents
604586d8
28c7bccf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Model/Config/Backend/Installments.php
Model/Config/Backend/Installments.php
+4
-0
No files found.
Model/Config/Backend/Installments.php
View file @
c8bf0c44
...
...
@@ -62,6 +62,10 @@ class Installments extends \Magento\Framework\App\Config\Value
public
function
beforeSave
()
{
$value
=
$this
->
getValue
();
$unserialized
=
@
unserialize
(
$value
);
if
(
$unserialized
!==
false
)
{
return
$this
;
}
$result
=
[];
foreach
(
$value
as
$data
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment