After poking around DF site... Updated wowdb as follows
- Code: Select all
//roster version
/*function insert_id()
{
return @mysql_insert_id($this->db);
}*/
//wowrosterdf version
function insert_id($idfield)
{
global $db;
return $db->sql_nextid($idfield);
}
Because NanoCaiordo says in DF Forums
the module's developer is trying to use an empty sql_nextid() wich was possible in 9.0.6.1 but not in 9.1.1.
Also then had to update calling code from
- Code: Select all
$batchids[] = $wowdb->insert_id();
to
- Code: Select all
$batchids[] = $wowdb->insert_id('req_id');
It may be easier (and provide some backward compatibility) to do this in wowdb but I'm not sure how.
Hope this helps others too.