$evt['membres_only'] = Post::get('membres_only');
$evt['advertise'] = Post::get('advertise');
$evt['show_participants'] = Post::get('show_participants');
+ if (!$short_name) $short_name = '';
$evt['short_name'] = $short_name;
$evt['deadline_inscription'] = (Post::get('deadline', 'off')=='on')?null:(Post::get('inscr_Year')."-".Post::get('inscr_Month')."-".Post::get('inscr_Day'));
// request for a new payment
if (Post::get('paiement_id') == -1 && $money_defaut >= 0) {
- require_once ('validations.inc.php');
- $p = new PayReq(
+ require_once ('validations.inc.php');
+ $p = new PayReq(
Session::get('uid'),
Post::get('intitule')." - ".$globals->asso('nom'),
Post::get('site'),
999,
$globals->asso('id'),
$eid);
- $p->submit();
+ $p->submit();
}
// events with no sub-event: add a sub-event with no name
</tr>
<tr>
<td>Evénement en raccourci (pour les mailings listes) :</td>
- <td><input type="text" name="short_name" value="{$evt.short_name}" size="20"/></td>
+ <td><input type="text" name="short_name" value="{$evt.short_name|default:$smarty.request.short_name}" size="20"/></td>
</tr>
<tr>
<td>Descriptif :</td>