diff --git a/application/helpers/hlp_common_helper.php b/application/helpers/hlp_common_helper.php
index 707d055ea..3e682e56c 100644
--- a/application/helpers/hlp_common_helper.php
+++ b/application/helpers/hlp_common_helper.php
@@ -356,7 +356,8 @@ function sanitizeProblemChars($str)
'ss' => '/ß/'
);
- return preg_replace($acentos, array_keys($acentos), htmlentities($str, ENT_NOQUOTES | ENT_HTML5, $enc));
+ $tmp = preg_replace($acentos, array_keys($acentos), htmlentities($str, ENT_NOQUOTES | ENT_HTML5, $enc));
+ return html_entity_decode($tmp, ENT_NOQUOTES | ENT_HTML5, $enc);
}
/**
diff --git a/application/models/education/Pruefung_model.php b/application/models/education/Pruefung_model.php
index 50109d2f1..0d6ad4158 100644
--- a/application/models/education/Pruefung_model.php
+++ b/application/models/education/Pruefung_model.php
@@ -210,7 +210,7 @@ class Pruefung_model extends DB_Model
$this->db->where('ps.prestudent_id', $prestudent_id);
if ($max_date !== null) {
- $this->db->where('p.datum <', $max_date);
+ $this->db->where('p.datum <=', $max_date);
}
if ($studiensemester_kurzbz !== null) {
$this->db->where('le.studiensemester_kurzbz', $studiensemester_kurzbz);
diff --git a/application/models/education/Studierendenantrag_model.php b/application/models/education/Studierendenantrag_model.php
index 23d69b13b..ea481ebef 100644
--- a/application/models/education/Studierendenantrag_model.php
+++ b/application/models/education/Studierendenantrag_model.php
@@ -54,7 +54,7 @@ class Studierendenantrag_model extends DB_Model
$this->addJoin('public.tbl_person', 'person_id');
$this->addJoin('public.tbl_studiengang stg', 'p.studiengang_kz=stg.studiengang_kz');
$this->addJoin('public.tbl_studiensemester ss', 'studiensemester_kurzbz');
- $this->addJoin('public.tbl_prestudentstatus ps', 'ps.prestudent_id=p.prestudent_id AND ps.studiensemester_kurzbz=ss.studiensemester_kurzbz AND ps.status_kurzbz=get_rolle_prestudent(p.prestudent_id, ss.studiensemester_kurzbz)');
+ $this->addJoin('public.tbl_prestudentstatus ps', 'ps.prestudent_id=p.prestudent_id AND ps.studiensemester_kurzbz=ss.studiensemester_kurzbz AND ps.status_kurzbz=get_rolle_prestudent(p.prestudent_id, ss.studiensemester_kurzbz)', 'LEFT');
$this->addJoin('lehre.tbl_studienplan plan', 'studienplan_id', 'LEFT');
$this->addJoin('bis.tbl_orgform of', 'of.orgform_kurzbz=COALESCE(plan.orgform_kurzbz, ps.orgform_kurzbz, stg.orgform_kurzbz)');
$this->addJoin(
diff --git a/cis/private/tools/zeitaufzeichnung.php b/cis/private/tools/zeitaufzeichnung.php
index f87ca2be3..46fd2c4c3 100644
--- a/cis/private/tools/zeitaufzeichnung.php
+++ b/cis/private/tools/zeitaufzeichnung.php
@@ -784,23 +784,23 @@ echo '
{
/* Checkt nicht mehr Bisverwendung, sondern Vertragsbestandteil Zeitaufzeichnung */
$.ajax({
- url: "zeitaufzeichnung_bisverwendung.php",
- data: {
- day: day,
- uid: uid
- },
- success: function (result)
- {
- if (result==\'true\')
- {
- $("#homeofficeBlock").show();
- }
- else
- {
- $("#homeofficeBlock").hide();
- }
- }
- });
+ url: "zeitaufzeichnung_bisverwendung.php",
+ data: {
+ day: day,
+ uid: uid
+ },
+ success: function (result)
+ {
+ if (result==\'true\')
+ {
+ $("#homeofficeBlock").show();
+ }
+ else
+ {
+ $("#homeofficeBlock").hide();
+ }
+ }
+ });
}
function checkZeitsperre(day, uid)
@@ -1042,7 +1042,7 @@ if ($projekt->getProjekteMitarbeiter($user, true))
echo "
-