Skip to content
Code-Schnipsel Gruppen Projekte
Commit f95e50e7 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix: order#104 - Saving customer data does not happen if the next step throws an error

Übergeordneter bcca2df0
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -287,6 +287,13 @@ public static function onUserSaveBegin(QUI\Users\User $User)
$submit = $Request->get('submit-shipping');
$address = (int)$Request->get('shipping-address');
if (isset($_REQUEST['step'])
&& $_REQUEST['step'] === 'Customer'
&& !empty($_REQUEST['shipping-address'])
) {
$address = (int)$_REQUEST['shipping-address'];
}
if ($submit === false || !$address) {
return;
}
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren