diff --git a/controller/personne.php b/controller/personne.php index af891872c988d7cbdcad0e9f9fcd601a56796e49..74300ecec89302d81178eb15aa10c87377118540 100644 --- a/controller/personne.php +++ b/controller/personne.php @@ -36,7 +36,7 @@ switch($action) { include 'view/form.php'; break; case "editPersonnel": - $ + break; case "editClient": diff --git a/view/list.php b/view/list.php index 9b60c2eb5ea4e526c26e0d0a490e6bdaff9ff81a..318f6725a7afcb7d583b7081d74c777e2ec3f2f9 100644 --- a/view/list.php +++ b/view/list.php @@ -15,7 +15,7 @@ <?php foreach($listParams["keys"] as $key): ?> <td><?php echo $line->{$key}(); ?></td> <?php endforeach; ?> - <td> <a type="button" class="btn btn-primary" href="">Editer</a> + <td> <a type="button" class="btn btn-primary" href="<?php echo $base_url.'/'.$editLink.'?'.listParams['keys'][0].'=' ?>">Editer</a> </tr> <?php endforeach; ?> </tbody>