From 0a97a028ee0f1ad917e7f0aa0e034daa4af082ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Thu, 26 Aug 2021 20:22:13 +0200 Subject: [PATCH 1/5] =?UTF-8?q?Reihungstest=C3=BCbersicht=20zeigt=20nun=20?= =?UTF-8?q?die=20Reihungstests=20der=20letzten=2012=20Monate=20an=20statt?= =?UTF-8?q?=20der=20letzten=205?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../organisation/reihungstest/ReihungstestUebersichtData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/organisation/reihungstest/ReihungstestUebersichtData.php b/application/views/organisation/reihungstest/ReihungstestUebersichtData.php index 931a09d80..be41e06c7 100644 --- a/application/views/organisation/reihungstest/ReihungstestUebersichtData.php +++ b/application/views/organisation/reihungstest/ReihungstestUebersichtData.php @@ -106,7 +106,7 @@ public.tbl_reihungstest LEFT JOIN public.tbl_studiengang using(studiengang_kz) WHERE - datum>now()-'5 months'::interval + datum>now()-'12 months'::interval ORDER BY datum desc ) data ", From b05fbe5978cf3c6853ae79c8c543619ea78a3676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Fri, 27 Aug 2021 19:05:00 +0200 Subject: [PATCH 2/5] Fixed PHP Version incompatibility issue --- include/person.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/person.class.php b/include/person.class.php index 328cc413c..a50417db0 100644 --- a/include/person.class.php +++ b/include/person.class.php @@ -276,7 +276,7 @@ class person extends basis_db $erg += $gewichtung[$i] * $this->svnr{$i}; } - if ($this->svnr{3} != ($erg % 11)) //Vergleichen der Pruefziffer mit Quersumme Modulo 11 + if ($this->svnr[3] != ($erg % 11)) //Vergleichen der Pruefziffer mit Quersumme Modulo 11 { $this->errormsg = 'SVNR ist ungueltig'; return false; From 64555c0ca13dc2afaf50327cacdeba35cb67438d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Mon, 30 Aug 2021 20:35:15 +0200 Subject: [PATCH 3/5] Mahnspanne kann auch leer sein --- include/konto.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/konto.class.php b/include/konto.class.php index 8d5129ec7..c23209a06 100644 --- a/include/konto.class.php +++ b/include/konto.class.php @@ -164,7 +164,7 @@ class konto extends basis_db return false; } - if(!is_numeric($this->mahnspanne)) + if($this->mahnspanne!='' && !is_numeric($this->mahnspanne)) { $this->errormsg = "Die Mahnspanne muss eine gueltige Zahl sein"; return false; From 6034da43d8325b4bd0c433ebdf3486b6a1bbd519 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Tue, 31 Aug 2021 07:56:59 +0200 Subject: [PATCH 4/5] Fixed loading of current Geschaeftsjahr if it is the last day of the year --- application/models/organisation/Geschaeftsjahr_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/models/organisation/Geschaeftsjahr_model.php b/application/models/organisation/Geschaeftsjahr_model.php index 9c856f40e..4f0d03b73 100644 --- a/application/models/organisation/Geschaeftsjahr_model.php +++ b/application/models/organisation/Geschaeftsjahr_model.php @@ -20,8 +20,8 @@ class Geschaeftsjahr_model extends DB_Model { $query = 'SELECT * FROM public.tbl_geschaeftsjahr - WHERE start <= now() - AND ende >= now() + WHERE start <= CURRENT_DATE + AND ende >= CURRENT_DATE ORDER BY start DESC LIMIT 1'; From 3999098fd68b4e9ff05bbabfcc523f655564945d Mon Sep 17 00:00:00 2001 From: Manfred Date: Thu, 2 Sep 2021 14:08:21 +0200 Subject: [PATCH 5/5] =?UTF-8?q?Anzeige=20der=20abgelaufene=20Coodle-Umfrag?= =?UTF-8?q?en=20verl=C3=A4ngert=20auf=2090=20Tage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/coodle.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/coodle.class.php b/include/coodle.class.php index 41394dcb5..9f23f88da 100644 --- a/include/coodle.class.php +++ b/include/coodle.class.php @@ -373,7 +373,7 @@ class coodle extends basis_db WHERE (uid =".$this->db_add_param($uid, FHC_STRING, false)." OR ersteller_uid =".$this->db_add_param($uid, FHC_STRING, false).") - AND endedatum >= CURRENT_DATE - interval '20 days';"; + AND endedatum >= CURRENT_DATE - interval '90 days';"; if(!$this->db_query($qry)) {