From: Brion Vibber Date: Mon, 11 Oct 2010 20:05:44 +0000 (-0700) Subject: quick syntax fix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f85511c28f38d8d4a4016e8036d41778286cdb22;p=quix0rs-gnu-social.git quick syntax fix --- diff --git a/lib/pgsqlschema.php b/lib/pgsqlschema.php index f09f41d51a..27f004cea6 100644 --- a/lib/pgsqlschema.php +++ b/lib/pgsqlschema.php @@ -303,19 +303,19 @@ class PgsqlSchema extends Schema $oldType = $this->mapType($old); $newType = $this->mapType($cd); if ($oldType != $newType) { - $phrase[] .= $prefix . 'TYPE ' . $newType; + $phrase[] = $prefix . 'TYPE ' . $newType; } if (!empty($old['not null']) && empty($cd['not null'])) { - $phrase[] .= $prefix . 'DROP NOT NULL'; + $phrase[] = $prefix . 'DROP NOT NULL'; } else if (empty($old['not null']) && !empty($cd['not null'])) { - $phrase[] .= $prefix . 'SET NOT NULL'; + $phrase[] = $prefix . 'SET NOT NULL'; } if (isset($old['default']) && !isset($cd['default'])) { - $phrase[] . $prefix . 'DROP DEFAULT'; + $phrase[] = $prefix . 'DROP DEFAULT'; } else if (!isset($old['default']) && isset($cd['default'])) { - $phrase[] . $prefix . 'SET DEFAULT ' . $this->quoteDefaultValue($cd); + $phrase[] = $prefix . 'SET DEFAULT ' . $this->quoteDefaultValue($cd); } }