From bd2a7c0f6c2205f03b1e0de4a88f9d897405b28e Mon Sep 17 00:00:00 2001 From: William Date: Tue, 15 Feb 2022 13:20:50 +0100 Subject: [PATCH] Commit --- public/teamtable/edit/update.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/public/teamtable/edit/update.php b/public/teamtable/edit/update.php index 08140e8..d3faaac 100644 --- a/public/teamtable/edit/update.php +++ b/public/teamtable/edit/update.php @@ -115,13 +115,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') if (!$validationError) { if ( - $LagNavn == $currentTeam['LagNavn'] && - $Bedrift == $currentTeam['Bedrift'] && - $Kortnummer == $currentTeam['Kortnummer'] && - $Lagleder == $currentTeam['Lagleder'] && - $Telefon == $currentTeam['Telefon'] && - $Deltagere == $currentTeam['Deltagere'] && - $Runder == $currentTeam['Runder'] + $LagNavn === $currentTeam['LagNavn'] && + $Bedrift === $currentTeam['Bedrift'] && + $Kortnummer === $currentTeam['Kortnummer'] && + $Lagleder === $currentTeam['Lagleder'] && + $Telefon === $currentTeam['Telefon'] && + $Deltagere === $currentTeam['Deltagere'] && + $Runder === $currentTeam['Runder'] ) { $app->session->flash('Ingen endringer ble gjort for lag: '.$LagNavn);