diff --git a/html/user/forum_thread.php b/html/user/forum_thread.php
index 00304b9e2c..97d7ed21d2 100644
--- a/html/user/forum_thread.php
+++ b/html/user/forum_thread.php
@@ -26,7 +26,7 @@ check_get_args(array("id", "sort", "nowrap", "filter"));
$threadid = get_int('id');
$sort_style = get_int('sort', true);
-$nowrap = get_int('nowrap', true);
+$nowrap = get_str('nowrap', true);
$filter = get_str('filter', true);
if ($filter != "false"){