# Get the first responding ID; that'll be the one we keep.
$id = $dbw->selectField( 'cur', 'cur_id', array(
'cur_namespace' => $row->cur_namespace,
'cur_title' => $row->cur_title ) );
# Get the first responding ID; that'll be the one we keep.
$id = $dbw->selectField( 'cur', 'cur_id', array(
'cur_namespace' => $row->cur_namespace,
'cur_title' => $row->cur_title ) );