Permalink
Browse files

CS fix (related to #2090).

  • Loading branch information...
1 parent f6bd5a4 commit fd6d42badc4d47eca4ed334f277064056c328e9c @resurtm resurtm committed Mar 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/db/schema/CDbSchema.php
@@ -572,7 +572,7 @@ public function dropIndex($name, $table)
*/
public function addPrimaryKey($name,$table,$columns)
{
- if (is_string($columns))
+ if(is_string($columns))
$columns=preg_split('/\s*,\s*/',$columns,-1,PREG_SPLIT_NO_EMPTY);
foreach($columns as $i=>$col)
$columns[$i]=$this->quoteColumnName($col);

0 comments on commit fd6d42b

Please sign in to comment.