From 6289d21eb13ad146b5207113551309e021e28782 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Tue, 23 Apr 2024 15:11:51 +0200 Subject: [PATCH] Preorder trigger: Fixed not replacing CIFTOKEN in cifurl --- application/Preorder/Preorder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/Preorder/Preorder.php b/application/Preorder/Preorder.php index 4ad3e60fd..46fba4d77 100644 --- a/application/Preorder/Preorder.php +++ b/application/Preorder/Preorder.php @@ -438,8 +438,8 @@ class Preorder extends mfBaseModel { $campaign = $this->getProperty("campaign"); $cifurl = $campaign->cifurl; - str_replace("{{CIFTOKEN}}", $this->ciftoken, $cifurl); - + $cifurl = str_replace("{{CIFTOKEN}}", $this->ciftoken, $cifurl); + return $cifurl; }