fix: other id
This commit is contained in:
parent
bd32ff0dbf
commit
f6ba6153b3
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class InscriptionField extends BazarField
|
|||
|| $this->getWiki()->UserIsInGroup('Employeur')
|
||||
|| $this->getWiki()->UserIsInGroup('Coordination')
|
||||
) {
|
||||
if ($entry['id_typeannonce'] == '13') {
|
||||
if ($entry['id_typeannonce'] == '10') {
|
||||
return '<a href="' . $this->getWiki()->href('iframe', 'BazaR', 'vue=saisir&action=saisir_fiche&listefiche' . $entry['id_typeannonce'] . 'inscription=' . $entry['id_fiche'] . '&id=' . $this->inscriptionForm) . '" class="modalbox btn btn-primary" data-iframe="1" title="Vous inscrire a cette rencontre">Vous inscrire à cette rencontre</a>';
|
||||
}
|
||||
return '<a href="' . $this->getWiki()->href('iframe', 'BazaR', 'vue=saisir&action=saisir_fiche&listefiche' . $entry['id_typeannonce'] . 'inscription=' . $entry['id_fiche'] . '&id=' . $this->inscriptionForm) . '" class="modalbox btn btn-primary" data-iframe="1" title="Inscrire des adultes relais">Inscrire des adultes relais à cette formation</a>';
|
||||
|
|
Loading…
Reference in a new issue