1

(1 replies, posted in PunBB 1.2 bug reports)

File: pgsql.php
Function: insert_id()
Line:
if (preg_match('/^INSERT INTO ([a-z0-9\_\-]+)/is', $this->last_query_text[$query_id], $table_name))

Necessary to write:
if (preg_match('/^INSERT INTO ([a-z0-9\_\-\.]+)/is', $this->last_query_text[$query_id], $table_name))

Because the line consists of two parts - [schema name.]<table name>
When $db_prefix contains a name of the scheme, it is necessary to add \.