diff --git a/Rocksolid_Light/rocksolid/lib/thread.inc.php b/Rocksolid_Light/rocksolid/lib/thread.inc.php index 68906d3..cba58c2 100644 --- a/Rocksolid_Light/rocksolid/lib/thread.inc.php +++ b/Rocksolid_Light/rocksolid/lib/thread.inc.php @@ -1181,6 +1181,9 @@ function thread_getsubthreadids($id,$thread) { thread_getsubthreadids_recursive($answer)); } } + $answers = array_map('json_encode', $answers); + $answers = array_unique($answers); + $answers = array_map('json_decode', $answers); return $answers; }