diff --git a/class/listview.php b/class/listview.php
index 1b180ece9d2fab14619eaf59bb0c68874259d33a..96709279a4473ab4e9d2e3e1ed1987156cf98e89 100644
--- a/class/listview.php
+++ b/class/listview.php
@@ -9,7 +9,7 @@ class ListView
     public function __construct($class, $title)
     {
         $this->title = $title;
-        $this->$objArray = $class::getAll();
+        $this->objArray = $class::getAll();
     }
 
     public function getTitle() {