/blog/edit-post.php |
---|
44,7 → 44,7 |
else |
{ |
$page->query('UPDATE BlogPosts SET Content = "' . $content . '", Title = "' . $title . '", Category = "' . $category . '" WHERE ID = ' . $id); |
$page->redirect('index.php'); |
$page->redirect('post.php?id=' . $id); |
} |
} |