From a4fcbbe76ccaa5196100aed4a117983a9b8e7b54 Mon Sep 17 00:00:00 2001
From: Matthieu Guffroy <mattgu74@gmail.com>
Date: Wed, 18 Jun 2014 22:41:56 +0200
Subject: [PATCH] fix errors

---
 class/listview.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/class/listview.php b/class/listview.php
index 288fd52..460908d 100644
--- a/class/listview.php
+++ b/class/listview.php
@@ -4,12 +4,13 @@ class ListView
 {
     protected $title;
     protected $objArray;
-
+    public $class;
 
     public function __construct($class, $title)
     {
         $this->title = $title;
         $this->objArray = $class::getAll();
+        $this->class = $class;
     }
 
     public function getTitle() {
-- 
GitLab