Permalink
Browse files

replace split with explode.

  • Loading branch information...
qiang.xue
qiang.xue committed May 8, 2009
1 parent d801fd7 commit 38f9a7c352c1edf086000ebd1aa8a48f34cb7bd5
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/db/schema/pgsql/CPgsqlSchema.php
@@ -200,7 +200,7 @@ protected function findConstraints($table)
*/
protected function findPrimaryKey($table,$indices)
{
- $indices=join(', ',split(' ',$indices));
+ $indices=join(', ',explode(' ',$indices));
$sql=<<<EOD
SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE
attrelid=(

0 comments on commit 38f9a7c

Please sign in to comment.