$issueDataProvider=new CActiveDataProvider('Issue', array(
'criteria'=>array(
'condition'=>'project_id=:projectId',
'params'=>array(':projectId'=>$this->loadModel()->id),
),
'pagination'=>array(
'pageSize'=>1,
),
));its call loadModel() method without parameter and cause a following error:
Error 500 Missing argument 1 for ProjectController::loadModel(), called in F:\wamp\www\trackstar\protected\controllers\ProjectController.php on line 56 and defined
i think the writer was made the mistake or me that was wrong? can anyone tell me what is the problem?

Help















