diff --git a/admin/pdf.php b/admin/pdf.php index f26adb2..02a29f7 100644 --- a/admin/pdf.php +++ b/admin/pdf.php @@ -8,7 +8,6 @@ $users = new Users\Users; f(['id' => 'required|numeric']); $id = (int) qg('id'); -$id_field = Users\DynamicFields::getNameFieldsSQL(); $sign_tag = UserTemplate\Functions::signature(); // Vérification que le document existe @@ -25,7 +24,6 @@ try if ($f->receveur_membre) { $c = $users->get($f->receveur_id); - $c->$id_field = $c->$identite; foreach(['ville','code_postal','adresse'] as $v) { if($c->$v == '') @@ -37,7 +35,6 @@ try else { $c = $client->get($f->receveur_id); - $c->$id_field = $c->nom; } } catch(UserException $e)