mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Merge branch 'FHBGLD-FHBGLD---BIS_lehrgangsmeldung'
This commit is contained in:
@@ -249,8 +249,8 @@ define('BIS_FUNKTIONSCODE_6_ARR', array(
|
||||
'Team'
|
||||
));
|
||||
|
||||
// Standortcode fuer Lehrgaenge
|
||||
define('BIS_STANDORTCODE_LEHRGAENGE', '0');
|
||||
// Standortcode fuer Lehrgaenge - Obsolete da Standort nun aus DB geholt wird
|
||||
//define('BIS_STANDORTCODE_LEHRGAENGE', '0');
|
||||
|
||||
// bPk Abfrage
|
||||
define('BPK_FUER_ALLE_BENUTZER_ABFRAGEN', false);
|
||||
|
||||
@@ -58,6 +58,7 @@ else
|
||||
$datei='';
|
||||
$zaehl=0;
|
||||
$lehrgangsname = '';
|
||||
$standortcode = null;
|
||||
|
||||
$stsem_obj = new studiensemester();
|
||||
$stsem_obj->load($ssem);
|
||||
@@ -158,16 +159,16 @@ if ($stg_kz == '')
|
||||
exit();
|
||||
}
|
||||
|
||||
// Standortcode
|
||||
if (defined('BIS_STANDORTCODE_LEHRGAENGE') && BIS_STANDORTCODE_LEHRGAENGE != '0')
|
||||
{
|
||||
$standortcode = BIS_STANDORTCODE_LEHRGAENGE;
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "<H2>Standortcode für Lehrgänge fehlt.</H2>";
|
||||
exit;
|
||||
}
|
||||
// Standortcode - Obsolete da Standort nun aus DB geholt wird - auch kein Eintrag in vilesci.config->BIS_STANDORTCODE_LEHRGAENGE noetig
|
||||
#####if (defined('BIS_STANDORTCODE_LEHRGAENGE') && BIS_STANDORTCODE_LEHRGAENGE != '0')
|
||||
#####{
|
||||
##### $standortcode = BIS_STANDORTCODE_LEHRGAENGE;
|
||||
#####}
|
||||
#####else
|
||||
#####{
|
||||
##### echo "<H2>Standortcode für Lehrgänge fehlt.</H2>";
|
||||
##### exit;
|
||||
#####}
|
||||
|
||||
$datumobj=new datum();
|
||||
|
||||
@@ -178,6 +179,7 @@ if($result = $db->db_query($qry))
|
||||
if($row = $db->db_fetch_object($result))
|
||||
{
|
||||
$stgart=$row->typ;
|
||||
$standortcode = $row->standort_code;
|
||||
$lgartcode = $row->lgartcode;
|
||||
$qrylgart = "SELECT lgart_biscode FROM bis.tbl_lgartcode WHERE lgartcode=".$db->db_add_param($row->lgartcode);
|
||||
if($result_lgartcode = $db->db_query($qrylgart))
|
||||
|
||||
Reference in New Issue
Block a user