diff --git a/view/list.php b/view/list.php
index 6a332df83c50de84f0ee7c1138174993b296f9d1..45fd4e4d1a621440d7b38af286c78fe252732ba4 100644
--- a/view/list.php
+++ b/view/list.php
@@ -11,7 +11,7 @@
             <?php foreach($listArray as $line): ?>
                 <tr>
                 <?php foreach($listParams["keys"] as $key): ?>
-                    <td><?php echo $line[$key]; ?></td>
+                    <td><?php echo $line->$key; ?></td>
                 <?php endforeach; ?>
                 </tr>
             <?php endforeach; ?>