Skip to content

Commit

Permalink
Dev Unified model names
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Apr 5, 2013
1 parent eaef9ba commit f3058da
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion application/controllers/admin/participantsaction.php
Expand Up @@ -850,7 +850,6 @@ function getAttribute_json()
{
$iParticipantId = Yii::app()->request->getQuery('pid');
$records = ParticipantAttributeName::model()->getParticipantVisibleAttribute($iParticipantId);
//$getallattributes = ParticipantAttributeName::model()->with('participant_attribute_names_lang')->findAll();
$records = subval_sort($records, "attribute_name", "asc");

$i = 0;
Expand Down
2 changes: 1 addition & 1 deletion application/models/Condition.php
Expand Up @@ -62,7 +62,7 @@ public function primaryKey()
public function relations()
{
return array(
'questions' => array(self::HAS_ONE, 'Questions', '',
'questions' => array(self::HAS_ONE, 'Question', '',
'on' => 't.cqid = questions.qid',
),
);
Expand Down
2 changes: 1 addition & 1 deletion application/models/DefaultValue.php
Expand Up @@ -59,7 +59,7 @@ public function primaryKey()
public function relations()
{
return array(
'question' => array(self::HAS_ONE, 'Questions', '',
'question' => array(self::HAS_ONE, 'Question', '',
'on' => 't.qid = question.qid',
),
);
Expand Down

0 comments on commit f3058da

Please sign in to comment.