diff options
author | godzilla80@gmx.net <> | 2009-04-26 06:22:19 +0000 |
---|---|---|
committer | godzilla80@gmx.net <> | 2009-04-26 06:22:19 +0000 |
commit | f3c0f40446077b91440cb67a3442b23f2d2036b4 (patch) | |
tree | 27b45be9f58570a9c0082f6464a3cb0827528b7b /framework/Data | |
parent | 76c718e9afde72ba03c79bcfe39f63f7c8d2b9d0 (diff) |
Fixed Issue #146 - replace deprecated(php5.3>) split with explode in TPgsqlMetaData:getPrimaryKeys(), PradoBase::getUserLanguages()
Diffstat (limited to 'framework/Data')
-rw-r--r-- | framework/Data/Common/Pgsql/TPgsqlMetaData.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Data/Common/Pgsql/TPgsqlMetaData.php b/framework/Data/Common/Pgsql/TPgsqlMetaData.php index a2243531..3ab872a5 100644 --- a/framework/Data/Common/Pgsql/TPgsqlMetaData.php +++ b/framework/Data/Common/Pgsql/TPgsqlMetaData.php @@ -330,7 +330,7 @@ EOD; */
protected function getPrimaryKeys($tableName, $schemaName, $columnIndex)
{
- $index = join(', ', split(' ', $columnIndex));
+ $index = join(', ', explode(' ', $columnIndex));
$sql =
<<<EOD
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE
@@ -344,7 +344,7 @@ EOD; $command = $this->getDbConnection()->createCommand($sql);
$command->bindValue(':table', $tableName);
$command->bindValue(':schema', $schemaName);
-// $command->bindValue(':columnIndex', join(', ', split(' ', $columnIndex)));
+// $command->bindValue(':columnIndex', join(', ', explode(' ', $columnIndex)));
$primary = array();
foreach($command->query() as $row)
{
|