From ef4cd20cfa33687383a0f8da2225ed7ff6e04d93 Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Mon, 24 Sep 2012 12:46:23 +1200 Subject: [PATCH] FIXED: Minor typo in string concatenation --- code/PostgreSQLDatabase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/PostgreSQLDatabase.php b/code/PostgreSQLDatabase.php index 3e0de0a..7cfb76d 100644 --- a/code/PostgreSQLDatabase.php +++ b/code/PostgreSQLDatabase.php @@ -485,7 +485,7 @@ function buildPostgresIndexName($tableName, $indexName, $prefix = 'ix') { // Assume all indexes also contain the table name // MD5 the table/index name combo to keep it to a fixed length. // Exclude the prefix so that the trigger name can be easily generated from the index name - $indexNamePG = "{$prefix}_" . md5("$tableName}_{$indexName}"); + $indexNamePG = "{$prefix}_" . md5("{$tableName}_{$indexName}"); // Limit to 63 characters if (strlen($indexNamePG) > 63)