format gebdatum for profil in sql; fix show telefonnummer in profil;

This commit is contained in:
Johann Hoffmann
2025-02-12 13:44:32 +01:00
parent 8525c82305
commit a9e3a85d99
2 changed files with 2 additions and 2 deletions
@@ -499,7 +499,7 @@ class Profil extends FHCAPI_Controller
/** @param integer $geburtsInfo */
if ($geburtsInfo) {
array_push($selectClause, "gebort");
array_push($selectClause, "gebdatum");
array_push($selectClause, "TO_CHAR(gebdatum, 'DD.MM.YYYY') as gebdatum");
}
$this->BenutzerModel->addSelect($selectClause);
$this->BenutzerModel->addJoin("tbl_person", "person_id");