From 654ad23635d0af0b601dbeccce5e9c293f5af405 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Mon, 13 Jan 2025 10:54:37 +0100 Subject: [PATCH] make PHP 7 compatible --- application/component/oeusercomponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/component/oeusercomponent.php b/application/component/oeusercomponent.php index 63b4881..7a53173 100644 --- a/application/component/oeusercomponent.php +++ b/application/component/oeusercomponent.php @@ -36,7 +36,7 @@ class oeUserComponent extends oeUserComponent_parent $trace = ob_get_contents(); ob_end_clean(); - if(str_contains($trace, 'initAmazonPayExpress')) + if(strpos($trace, 'initAmazonPayExpress') !== false) { return parent::createUser(); }