diff --git a/dblayeroo.php b/dblayeroo.php index b420a29..995b2ca 100644 --- a/dblayeroo.php +++ b/dblayeroo.php @@ -2860,6 +2860,12 @@ class dblayeroo } if ($autoInc !== null) $autoInc = $this->table."_${col}_seq"; + else + { + $this->debugLog ("INSERT: PgSQL INSERT without Autoincrement. ". + "Return 1"); + return 1; + } } $this->debugLog ("INSERT: lastInsertId=", self::$instance[$this->dsn]->lastInsertId ($autoInc));