Skip to content
Browse files

(Fixes issue 3108)

  • Loading branch information...
1 parent 305efdd commit 2353e0adf98c8a912f0faf29cc2558c0ccd6fec7 qiang.xue committed Feb 13, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 framework/db/ar/CActiveFinder.php
View
2 framework/db/ar/CActiveFinder.php
@@ -1089,6 +1089,8 @@ private function joinOneMany($fke,$fks,$pke,$parent)
{
$schema=$this->_builder->getSchema();
$joins=array();
+ if(is_string($fks))
+ $fks=preg_split('/\s*,\s*/',$fks,-1,PREG_SPLIT_NO_EMPTY);
foreach($fks as $i=>$fk)
{
if(!is_int($i))

0 comments on commit 2353e0a

Please sign in to comment.
Something went wrong with that request. Please try again.