mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-19 13:09:27 +00:00
Problem behoben wodurch keine Fotoliste erstellt werden konnte wenn eine
Person kein Foto hochgeladen hat
This commit is contained in:
@@ -274,6 +274,8 @@ if ($result = $db->db_query($qry)) {
|
||||
|
||||
//add foto to document
|
||||
$doc->addImage($foto_url, trim($row->person_id) . '.jpg', 'image/jpg');
|
||||
|
||||
$foto_url = 'Pictures/' . trim($row->person_id) . '.jpg';
|
||||
}
|
||||
elseif ($row->foto_sperre == 't')
|
||||
{
|
||||
@@ -290,7 +292,7 @@ if ($result = $db->db_query($qry)) {
|
||||
'personenkennzeichen' => trim($row->matrikelnr),
|
||||
'geschlecht' => $row->geschlecht,
|
||||
'foto_gesperrt' => $row->foto_sperre, // f/t
|
||||
'foto_url' => 'Pictures/' . trim($row->person_id) . '.jpg',
|
||||
'foto_url' => $foto_url,
|
||||
'studiengruppe' => $student_studiengruppe,
|
||||
'verband' => trim($row->verband),
|
||||
'gruppe' => trim($row->gruppe),
|
||||
|
||||
Reference in New Issue
Block a user