diff --git a/docs/api/comment.php b/docs/api/comment.php index 7dfa729..65225f6 100644 --- a/docs/api/comment.php +++ b/docs/api/comment.php @@ -50,7 +50,7 @@ $postieP = "https://nbg.dervland.net/comment.php?id=" . $poid; - $user10 = '%system'; + $user10 = ':system'; if ($postType == 'user') { $postie = "A user commented on your wall: " . $postieP; $stmt = $db->prepare("INSERT INTO main.comment (username, targetType, targetId, date, content, id) VALUES (?,?,?,?,?,?)"); diff --git a/docs/index.php b/docs/index.php index 9d7ddc9..f335e04 100755 --- a/docs/index.php +++ b/docs/index.php @@ -9,7 +9,7 @@