Skip to content

Commit

Permalink
Merge branch '2.1' of github.com:LimeSurvey/LimeSurvey into 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Nov 30, 2012
2 parents 5d22c11 + 1999a5b commit f2b85f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/Participants.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function getParticipantsOwner($userid)
->from('{{participants}}')
->leftJoin('{{participant_shares}}', ' {{participants}}.participant_id={{participant_shares}}.participant_id')
->where('owner_uid = :userid1 OR share_uid = :userid2')
->group('{{participants}}.participant_id');
->group('{{participants}}.participant_id,{{participant_shares}}.can_edit');

$command = Yii::app()->db->createCommand()
->select('p.*, ps.can_edit')
Expand Down

0 comments on commit f2b85f1

Please sign in to comment.