diff --git a/html/forum/forum.inc b/html/forum/forum.inc
index b946a6b418..9dd43fd753 100644
--- a/html/forum/forum.inc
+++ b/html/forum/forum.inc
@@ -202,4 +202,8 @@ function getThread($threadID) {
return getNextThread(sql_query($sql));
}
+function getPost($postID) {
+ $sql = "SELECT * FROM post WHERE id = ".$postID;
+ return getNextPost(sql_query($sql));
+}
?>
\ No newline at end of file