diff options
| author | Damien Regad <dregad@mantisbt.org> | 2026-02-10 19:30:45 +0100 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2026-02-10 19:30:45 +0100 |
| commit | be012385e13628109de6fc986f158974c6b2aa19 (patch) | |
| tree | b3b71dd0aa0ded3f00a7098de775de6fe96a8299 /datadict/datadict-postgres.inc.php | |
| parent | f834b8efb018e1024540150210a151c1d1203262 (diff) | |
| download | adodb-be012385e13628109de6fc986f158974c6b2aa19.tar.gz adodb-be012385e13628109de6fc986f158974c6b2aa19.tar.bz2 adodb-be012385e13628109de6fc986f158974c6b2aa19.zip | |
Coding guidelines
Diffstat (limited to 'datadict/datadict-postgres.inc.php')
| -rw-r--r-- | datadict/datadict-postgres.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/datadict/datadict-postgres.inc.php b/datadict/datadict-postgres.inc.php index 8793e28c..348aa8b1 100644 --- a/datadict/datadict-postgres.inc.php +++ b/datadict/datadict-postgres.inc.php @@ -233,7 +233,7 @@ class ADODB2_postgres extends ADODB_DataDict $alter .= $colname; $v = preg_replace('/^' . preg_quote($colname) . '\s/', '', $v); - $t = trim(str_replace('DEFAULT '.$default,'',$v)); + $t = trim(str_replace('DEFAULT ' . $default,'',$v)); if ($this->connection && array_key_exists(strtoupper($colname), $existing)) { $old_coltype = $this->connection->metaType($existing[strtoupper($colname)]); |
