Quote:
Originally Posted by Lynne
You need to post for help with the plugin in the modification thread.
|
Hellcat hasn't logged in for like 2 years... It won't do any good.
@Dingo14, here's the problem...
Code:
$query = $vbulletin->db->query_read( "SELECT $cdfield FROM " . TABLE_PREFIX . "userfield WHERE userid='" . $post["userid"] . "';" );
$result = mysql_fetch_array( $query );
Change that code in the php file to...
Code:
$query = $vbulletin->db->query_read( "SELECT $cdfield FROM " . TABLE_PREFIX . "userfield WHERE userid='" . $post["userid"] . "';" );
if( !empty($query) ) { $result = mysql_fetch_array( $query ); }