Commit 6dad5ccd authored by Georgi Mateev's avatar Georgi Mateev
Browse files

[BUGFIX] Fix parent_optin of the pseudo initial cookie

parent 720e7c02
......@@ -493,10 +493,10 @@ class OptinController extends ActionController {
'pid' => $pid,
];
$newOptinKey = StringUtility::getUniqueId('NewOptin');
$newOptinKey = StringUtility::getUniqueId('NEW');
$data['tx_sgcookieoptin_domain_model_optin'][$newOptinKey] = $dataMapArray;
$newCookieKey = StringUtility::getUniqueId('NewCookie');
$newCookieKey = StringUtility::getUniqueId('NEW');
$data['tx_sgcookieoptin_domain_model_cookie'][$newCookieKey] = [
'pid' => $pid,
'name' => 'cookie_optin',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment