Skip to content

Commit

Permalink
Dev: Code inspection app/models fix Order statement (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
TonisOrmisson authored and LouisGac committed Oct 9, 2017
1 parent 0d069c9 commit ea2aca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/ParticipantAttributeName.php
Expand Up @@ -714,7 +714,7 @@ public function getAttributeID()
$query = Yii::app()->db->createCommand()
->select('attribute_id')
->from('{{participant_attribute_names}}')
->order('attribute_id','desc')
->order('attribute_id DESC')
->queryAll();
return $query;
}
Expand Down

0 comments on commit ea2aca5

Please sign in to comment.