From 165a1ba9091cae1c8e89a2800faa5de6285e4347 Mon Sep 17 00:00:00 2001
From: clement <clemmercier45@gmail.com>
Date: Wed, 18 Jun 2014 00:22:06 +0200
Subject: [PATCH] c

---
 view/list.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/view/list.php b/view/list.php
index e60d4da..48a5540 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="""<?php echo $base_url.$editLink.'?'.$listParams['keys'][0].'=' ?>""">Editer</a>
+                    <td> <a type="button" class="btn btn-primary" href="""<?php echo $base_url.$editLink.'?'.$listParams['keys'][0].'='.$line->{$listParams["keys"][0]}() ?>""">Editer</a>
                 </tr>
             <?php endforeach; ?>
         </tbody>
-- 
GitLab