diff --git a/class/form.php b/class/form.php index b2d402f6def3cd598a15cb7112fbe07f8e7b5b58..cc5e90cb6b72339e87e7dd180bd380448aaf5981 100644 --- a/class/form.php +++ b/class/form.php @@ -11,7 +11,7 @@ class Form { } public function getTitle() { - return "Ajouter un ".get_class($this->objet); + return "Ajouter un ".get_class($this->object); } } \ No newline at end of file diff --git a/class/objet.php b/class/objet.php index 54bf051e0792ae7cfd8ba78f379f5cca9b394d2f..fb0ac314733b791dac9e1aa67f0fc2e8161292ea 100644 --- a/class/objet.php +++ b/class/objet.php @@ -34,7 +34,7 @@ class Objet public function getForm() { $form = new Form(); - $form->setObjet($this); + $form->setObject($this); return $form; } } \ No newline at end of file