Skip to content

Commit

Permalink
Fix wrong number of columns when preloading via a DB backend without …
Browse files Browse the repository at this point in the history
…Fetch support.
  • Loading branch information
bogdan-iancu committed Jun 23, 2016
1 parent 0ae5ba2 commit 1569a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/usrloc/udomain.c
Expand Up @@ -572,7 +572,7 @@ int preload_udomain(db_con_t* _c, udomain_t* _d)
return -1;
}
} else {
if (ul_dbf.query(_c, 0, 0, 0, columns, 0, (use_domain)?(17):(16), 0,
if (ul_dbf.query(_c, 0, 0, 0, columns, 0, (use_domain)?(18):(17), 0,
&res) < 0) {
LM_ERR("db_query failed\n");
return -1;
Expand Down

0 comments on commit 1569a73

Please sign in to comment.