Commit a1873bc1 authored by Dries's avatar Dries

- Patch #15254: removed hardcoded 'public' schema from the PostgreSQL backend.

parent f0c61414
......@@ -204,7 +204,7 @@ function db_error() {
* will be created.
*/
function db_next_id($name) {
$id = db_result(db_query("SELECT nextval('public.%s_seq')", db_prefix_tables($name)));
$id = db_result(db_query("SELECT nextval('%s_seq')", db_prefix_tables($name)));
return $id;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment