Changeset 3353

Show
Ignore:
Timestamp:
08/22/2008 02:53:43 PM (3 months ago)
Author:
Shadowhand
Message:

Fixing #792, thanks pharaujo.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/ORM_Tree.php

    r3344 r3353  
    3737                                { 
    3838                                        // Find children of this parent 
    39                                         $model->where($this->parent_key, $this->object[$this->parent_key])->find(); 
     39                                        $model->where($model->primary_key, $this->object[$this->parent_key])->find(); 
    4040                                } 
    4141