"Niet slecht."-button!

This commit is contained in:
Marijn Jansen
2017-01-27 12:20:50 +01:00
parent 82c2eaccb3
commit 3b542e0878
6 changed files with 23 additions and 12 deletions

View File

@@ -99,7 +99,7 @@ function makeComment($postID, $userID, $content) : int {
function makeNietSlecht(int $postID, int $userID) : int {
if (checkNietSlecht($postID, $userID)) {
return deleteNietSlecht(postID, $userID);
return deleteNietSlecht($postID, $userID);
} else {
return addNietSlecht($postID, $userID);
}