[REQ] Code from post of vbulletin.org

This code change (an ugly hack, but i was trying to be quick) fixed it:

PHP:
if ($get_max_postid['postid'] < 1) {
		$get_max_postid['postid'] = 0;
	}
	$db->query("UPDATE " . TABLE_PREFIX . "nntp_settings
		SET value = " . $get_max_postid['postid'] .
		" WHERE varname = 'last_postid'
	");
 
Back
Top