What steps will reproduce the problem?
add the following code in controllers/AssignmentController line 85:
$userIdColumn = $this->module->userIdColumn;
$model = CActiveRecord::model($userClass)->findByAttributes(array($userIdColumn=>$_GET['id']));
instead of:
$model = CActiveRecord::model($userClass)->findByPk($_GET['id']);
What is the expected output? What do you see instead?
nothing different. This fixes the error when you have different column name
instead of the default id.
What version of the product are you using? On what operating system?
1.3.0
Please provide any additional information below.
Original issue reported on code.google.com by samir...@gmail.com on 21 Jul 2011 at 1:01
Original issue reported on code.google.com by
samir...@gmail.com
on 21 Jul 2011 at 1:01