Those who have older version of vshare, this patch will not work, so you need to upgrade first.

Or add following code to end of config.php

Code:
if(isset($_GET['tid'])) {
	$_GET['tid'] = intval($_GET['tid']);
}