X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fdbase_pgsql.phh;h=bd4dfb3ce78305700efaa23dd478dc859ec596a2;hb=e19ba01834625d96835b3adf385a1defc48f4166;hp=327a893b31b9cb20ac1bf133559c78a96c060cac;hpb=c5f862d7fbe0458d0bf66fbac37af9ac0e61dfcf;p=brisk.git diff --git a/web/Obj/dbase_pgsql.phh b/web/Obj/dbase_pgsql.phh index 327a893..bd4dfb3 100644 --- a/web/Obj/dbase_pgsql.phh +++ b/web/Obj/dbase_pgsql.phh @@ -323,7 +323,7 @@ class BriskDB break; } for ($i = 0 ; $i < $n ; $i++) { - $ord_sql = sprintf("INSERT INTO %sbin5_table_order (mcode, ucode, pos) VALUES (%d, %d, %d);", + $ord_sql = sprintf("INSERT INTO %sbin5_table_orders (mcode, ucode, pos) VALUES (%d, %d, %d);", $G_dbpfx, $G_dbpfx, $sql_ttok, $ucode[$i], $i); if (($ord_pg = $this->query($ord_sql)) == FALSE || pg_affected_rows($ord_pg) != 1 ) { log_crit(sprintf("bin5_points_save: failed at insert table order [%s]", $ord_sql));