Commit 62ee6975 authored by Corentin Bettiol's avatar Corentin Bettiol 💻

oops

parent 1d2cd394
...@@ -33,7 +33,7 @@ class AdminManager extends Base ...@@ -33,7 +33,7 @@ class AdminManager extends Base
} }
public function updateBlogPost(){ public function updateBlogPost(){
$blog = new BlogManager($_POST['time'], $_POST['title'], $_POST['content'], $_POST['shortContent'], $_POST['comments'], $_POST['id']); $blog = new BlogManager($_POST['time'], $_POST['title'], $_POST['content'], $_POST['shortContent'], $_POST['id']);
$blog->update(); $blog->update();
} }
...@@ -43,7 +43,7 @@ class AdminManager extends Base ...@@ -43,7 +43,7 @@ class AdminManager extends Base
} }
public function sendBlogPost(){ public function sendBlogPost(){
$blog = new BlogManager($_POST['time'], $_POST['title'], $_POST['content'], $_POST['shortContent'], $_POST['comments'], $_POST['id']); $blog = new BlogManager($_POST['time'], $_POST['title'], $_POST['content'], $_POST['shortContent'], $_POST['id']);
$blog->send(); $blog->send();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment