From 7eeee32b28b8c1e591c612421526f0a0532a2266 Mon Sep 17 00:00:00 2001
From: Matthieu Guffroy <mattgu74@gmail.com>
Date: Wed, 18 Jun 2014 01:08:32 +0200
Subject: [PATCH] fix syntax

---
 class/objet.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/class/objet.php b/class/objet.php
index ff4fd2f..a88b11d 100644
--- a/class/objet.php
+++ b/class/objet.php
@@ -97,7 +97,7 @@ class Objet
         $requete_prepare = $bdd->db->prepare("SELECT * FROM ".$dbName." WHERE ".$this->primaryAttr." = :id"); // on prépare notre requête
         $requete_prepare->execute(array("id" => $id));
 
-        $ligne = $requete_prepare->fetch(PDO::FETCH_ASSOC)
+        $ligne = $requete_prepare->fetch(PDO::FETCH_ASSOC);
         $this->fromDb($ligne);
     }
 }
\ No newline at end of file
-- 
GitLab