minor fixes

This commit is contained in:
Hendrik
2017-01-26 15:32:38 +01:00
parent f4b2fee290
commit ee204d78a7
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ require("../../queries/checkInput.php");
if (empty($_POST['newcomment-content'])) { if (empty($_POST['newcomment-content'])) {
echo 0; echo 0;
} else { } else {
if(makeComment($_POST['postID'], if(makeComment(test_input($_POST['postID']),
$_SESSION['userID'], $_SESSION['userID'],
test_input($_POST['newcomment-content']))) { test_input($_POST['newcomment-content']))) {
echo 1; echo 1;

View File

@@ -14,7 +14,7 @@
/* Modal Content/Box */ /* Modal Content/Box */
.modal-content { .modal-content {
margin: 5% auto; margin: 50px auto;
width: 70%; /* Could be more or less, depending on screen size */ width: 70%; /* Could be more or less, depending on screen size */
overflow-y: auto; overflow-y: auto;
} }