From 0a33d7a90b7ecf8b8256fdde76781e9effcb5713 Mon Sep 17 00:00:00 2001 From: SeyedGH Date: Wed, 9 Dec 2020 17:18:17 +0100 Subject: [PATCH] Update gateways.php Foreach has a typo -> must be => --- app/gateways/resources/classes/gateways.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/gateways/resources/classes/gateways.php b/app/gateways/resources/classes/gateways.php index 38236b3269..d0aec16895 100644 --- a/app/gateways/resources/classes/gateways.php +++ b/app/gateways/resources/classes/gateways.php @@ -553,7 +553,7 @@ if (!class_exists('gateways')) { //add new gateways to session variables if (is_array($gateways) && @sizeof($gateways) != 0) { - foreach ($gateways as $gateway_uuid -> $gateway) { + foreach ($gateways as $gateway_uuid => $gateway) { $_SESSION['gateways'][$gateway_uuid] = $gateway['name']; } } @@ -580,4 +580,4 @@ if (!class_exists('gateways')) { } } -?> \ No newline at end of file +?>