Changeset 95550 in spip-zone


Ignore:
Timestamp:
Feb 27, 2016, 6:31:38 PM (4 years ago)
Author:
abelass@…
Message:

maintenir la clé

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/reservation_evenement/trunk/action/editer_reservations_detail.php

    r95548 r95550  
    102102      $champs['statut'] = 'attente';
    103103  }
    104 
    105104
    106105  if ((isset($desc['date']) AND $d=$desc['date']) OR isset($desc['field'][$d='date']))
     
    185184    if ($c['statut'] != $champs['statut']) $statut_modifie = 1;
    186185    else $statut_modifie = 0;
    187    
    188     set_request('statuts_details_reservation',
    189       array_merge(
    190         _request('statuts_details_reservation'),
    191         array(
    192           $id_reservations_detail => array(
    193             'statut' => $champs['statut'],
    194             'statut_modifie' => $statut_modifie
    195           )
    196         )
    197       )
    198     );
     186               
     187                $statuts_details_reservation = _request('statuts_details_reservation');
     188               
     189                $statuts_details_reservation[$id_reservations_detail] = array(
     190                        'statut' => $champs['statut'],
     191            'statut_modifie' => $statut_modifie
     192                );
     193
     194    set_request('statuts_details_reservation',$statuts_details_reservation);
    199195  }
    200196
Note: See TracChangeset for help on using the changeset viewer.