Changeset 661 for trunk/app/controllers

Show
Ignore:
Timestamp:
07/21/08 22:11:14 (4 months ago)
Author:
aarkerio
Message:

Update general

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/controllers/subjects_controller.php

    r660 r661  
    4545 
    4646   $this->title     = __('Subject', true); 
    47        
    48    $conditions = array('Subject.code'=>$code); 
    4947    
    50    $this->set('data', $this->Subject->find($conditions)); 
     48   $this->set('data', $this->Subject->getSubject($code)); 
    5149 } 
    52     
    5350    
    5451  /** ==== ADMIN METHODS ==== */