diff --git a/include/konto.class.php b/include/konto.class.php index c002e2f68..5fa0a5a79 100644 --- a/include/konto.class.php +++ b/include/konto.class.php @@ -721,7 +721,7 @@ class konto extends basis_db $qry = "select sum(betrag) as betrag from public.tbl_konto join public.tbl_benutzer benutzer using(person_id) where uid=".$this->db_add_param($uid)." and studiensemester_kurzbz = ".$this->db_add_param($stsem)." - and buchungstyp_kurzbz = 'OEH' and betrag > 0"; + and LOWER(buchungstyp_kurzbz) = LOWER('OEH') and betrag > 0"; if($studiengang_kz!= null) $qry.=" and studiengang_kz = ".$this->db_add_param($studiengang_kz, FHC_INTEGER).";";