Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Commit

Permalink
:fix pieceListe: correction de l'affichage de l'expérimentation
Browse files Browse the repository at this point in the history
Correction de l'enregistrement de la modification de experimentation
  • Loading branch information
Eric Quinton committed Apr 7, 2020
1 parent 729d3f7 commit aa9eadb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion display/templates/gestion/pieceListe.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $(document).ready(function() {
<div class="col-sm-6">
<select class="auto form-control" name="exp_id" id="exp_id">
{section name="lst" loop=$experimentation}
<option value="{$experimentation[lst].exp_id}" {if $experimentation[lst].exp_id == $individuSearch.exp_id}selected{/if}>
<option value="{$experimentation[lst].exp_id}" {if $experimentation[lst].exp_id == $exp_id}selected{/if}>
{$experimentation[lst].exp_nom}
</option>
{/section}
Expand Down
2 changes: 1 addition & 1 deletion modules/gestion/experimentation.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
/*
* Rechargement des experimentations autorisees pour l'operateur apres modification
*/
require_once 'modules/classes/photo.class.php';
include_once 'modules/classes/lecteur.class.php';
$lecteur = new Lecteur($bdd, $ObjetBDDParam);
$lecteur_id = $lecteur->getIdFromLogin($_SESSION['login']);
if ($lecteur_id > 0) {
Expand Down

0 comments on commit aa9eadb

Please sign in to comment.