Skip to content
Snippets Groups Projects
Commit 29876c28 authored by NF17 Etudiant's avatar NF17 Etudiant
Browse files

correct some problems

parent bf65be54
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,8 @@ class Objet
public function insert()
{
$dbName = self::dbName();
$class = get_called_class();
$dbName = $class::dbName();
$bdd = new Db();
$values = array();
......@@ -162,4 +163,4 @@ class Objet
public function getList($title, $id=null) {
return new ListView(get_called_class(), $title, $id);
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment