diff options
Diffstat (limited to 'web/_views')
-rw-r--r-- | web/_views/modal/new_post.php | 1 | ||||
-rw-r--r-- | web/_views/template/post.php | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/web/_views/modal/new_post.php b/web/_views/modal/new_post.php index 82243fb..71028ad 100644 --- a/web/_views/modal/new_post.php +++ b/web/_views/modal/new_post.php @@ -40,7 +40,6 @@ success: function(data) { window.location.reload(); }, - error: errorToast }); }); </script> diff --git a/web/_views/template/post.php b/web/_views/template/post.php index 4fbf485..0541026 100644 --- a/web/_views/template/post.php +++ b/web/_views/template/post.php @@ -28,7 +28,7 @@ <?php endif; ?> <div class="col comments"> <?php - $_GET['id'] = $post['id']; + $_GET = array('id' => $post['id']); $cdata = $this->comments(); $loaded = $cdata['loaded']; |