Fixed getthreads.php