Perhaps there's a better place to ask this since no one seems to be
answering it?

On Oct 8, 6:22 pm, Brenton B <[EMAIL PROTECTED]> wrote:
> So ... no one knows, hey? shucks.
>
> On Oct 7, 2:58 pm, Brenton B <[EMAIL PROTECTED]> wrote:
>
> > Why are we restricting rows in dbo_source.php on line 841?
>
> >                                         if ($type == 'hasAndBelongsToMany') 
> > {
> >                                                 $uniqueIds = $merge = 
> > array();
>
> >                                                 foreach($fetch as $j => 
> > $data) {
> >                                                         if (
> >                                                                 
> > (isset($data[$with]) && $data[$with][$foreignKey] ===
> > $row[$model->alias][$model->primaryKey]) &&
> >                                                                 
> > (!in_array($data[$with][$joinKeys[1]], $uniqueIds))
> >                                                         ) {
> >                                                                 
> > $uniqueIds[] = $data[$with][$joinKeys[1]];
>
> >                                                                 if 
> > ($habtmFieldsCount <= 2) {
> >                                                                         
> > unset($data[$with]);
> >                                                                 }
> >                                                                 $merge[] = 
> > $data;
> >                                                         }
> >                                                 }
> >                                                 if (empty($merge) && 
> > !isset($row[$association])) {
> >                                                         $row[$association] 
> > = $merge;
> >                                                 } else {
> >                                                         
> > $this->__mergeAssociation($resultSet[$i], $merge, $association,
> > $type);
> >                                                 }
> >                                         }
>
> > Original discussion started 
> > inhttp://groups.google.com/group/cake-php/browse_thread/thread/25341f4a...
> > A new discussion was opened since this topic has deviated from the
> > original discussion.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to