From a3564ff04834ce68c1390063aa2762efc54c01f3 Mon Sep 17 00:00:00 2001 From: Monique Hansma Date: Mon, 26 Jun 2023 12:47:41 +0200 Subject: [PATCH] if uitgezet --- application/controllers/monfin2/Bestemmingen.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/monfin2/Bestemmingen.php b/application/controllers/monfin2/Bestemmingen.php index 2e297c4..466eabb 100644 --- a/application/controllers/monfin2/Bestemmingen.php +++ b/application/controllers/monfin2/Bestemmingen.php @@ -100,10 +100,10 @@ class Bestemmingen extends MY_Controller{ $bestemmingID = $this->clean_input("id"); $targetjaar = $this->Toewijzingen_model->getNextJaar($this->globorgid); $bestemmingjaar = $this->Finbestemmingen_model->get(['id'=>$bestemmingID], 'kalenderjaar', true); - if ($targetjaar >= $bestemmingjaar) { +// if ($targetjaar >= $bestemmingjaar) { $this->Finbestemmingen_model->update_record(['budget' => $this->clean_input('budget')], $bestemmingID); echo $this->db->last_query(); - } +// } }