download bug + la validation de l'édition d'un profil revient à la page de saisie

This commit is contained in:
Fred Tempez 2023-07-24 18:30:10 +02:00
parent 6ac06f669b
commit 9b59393ad2
2 changed files with 2 additions and 2 deletions

View File

@ -612,7 +612,7 @@ class user extends common
// Valeurs en sortie
$this->addOutput([
'redirect' => helper::baseUrl() . 'user/profil',
'redirect' => helper::baseUrl() . 'user/profilEdit/' . $this->getUrl(2) . '/' . $this->getUrl(3),
'notification' => helper::translate('Modifications enregistrées'),
'state' => true
]);

View File

@ -6,7 +6,7 @@
</h4>
<div class="row">
<div class="col4">
<?php echo template::checkbox('profilEditDownloadEdit', true, 'Ajouter', [
<?php echo template::checkbox('profilEditDownloadAdd', true, 'Ajouter', [
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'download', 'add'])
]); ?>
</div>