diff --git a/cake/libs/model/datasources/dbo/dbo_postgres.php b/cake/libs/model/datasources/dbo/dbo_postgres.php index 549de7a88..a318cfced 100644 --- a/cake/libs/model/datasources/dbo/dbo_postgres.php +++ b/cake/libs/model/datasources/dbo/dbo_postgres.php @@ -363,7 +363,7 @@ class DboPostgres extends DboSource { if (isset($this->_sequenceMap[$table]) && isset($this->_sequenceMap[$table][$field])) { return $this->_sequenceMap[$table][$field]; } else { - return "{$source}_{$field}_seq"; + return "{$table}_{$field}_seq"; } } /**