Quote:
Originally Posted by El Burro
Hi Nix,
I'm getting a database error when I preview a post.
Invalid SQL:
UPDATE post SET anymedia_yes=1 WHERE postid=;
I saw the same error in a previous post so I followed your advice given then and uninstalled then reinstalled
I'm still getting the errors 
|
If i remembered correctly, just edit the inclides/class_anymedia.php
and search for :
PHP Code:
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "post SET anymedia_yes=1 WHERE postid=$post[postid]");
replace it with :
PHP Code:
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "post SET anymedia_yes=1 WHERE postid='" . $post[postid] ."'");