possible bug report multi-domain.php line 1094 please check

This query is failing for me.

I didn’t lookt to see what this function does but..

I don’t think you need the ORDER BY statement since the blog_id is the primary key.

My table does not have a id field.

$domain = $this->db->get_var( “SELECT domain FROM {$this->db->dmtable} WHERE blog_id = ‘{$userblog_id}’ ORDER BY id LIMIT 1” );

[15-Jan-2011 21:13:39] WordPress database error Unknown column ‘id’ in ‘order clause’ for query SELECT domain FROM wp_domain_mapping WHERE blog_id = ‘1074’ ORDER BY id LIMIT 1 made by require_once, require_once, do_action, call_user_func_array, multi_domain->build_cookie, multi_domain->build_blog_cookie, m_wpdb->query