Changeset 4432df6 in iPeer


Ignore:
Timestamp:
2013-01-04T12:50:31-08:00 (5 years ago)
Author:
Compass <pan.luo@…>
Branches:
3.1.x, dev, hotfix, master, pagodabox, ticket463
Children:
abdf8bc
Parents:
b55ce54
git-author:
Michael Tang <michael.tang@…> (01/04/2013 10:53:04 AM)
git-committer:
Compass <pan.luo@…> (01/04/2013 12:50:31 PM)
Message:

fixed Ticket 443

instructors were not able to edit groups. The reason was the url
connected to the edit form gave the course_id as the parameter
instead of the group_id. This has now been fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/views/groups/edit.ctp

    rb55ce54 r4432df6  
    77echo $this->Form->create('Group',
    88    array('id' => 'frm',
    9     'url' => array('action' => $this->action.'/'.$course_id),
     9    'url' => array('action' => $this->action.'/'.$group_id),
    1010));
    1111echo isset($group_id) ? $this->Form->hidden('Group.id', array('value' => $group_id)):'';
Note: See TracChangeset for help on using the changeset viewer.