Skip to content

Commit

Permalink
Fixed issue #13283: Survey Groups title should be mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikvitt committed Aug 28, 2018
1 parent f180d47 commit 44d3704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/SurveysGroups.php
Expand Up @@ -35,7 +35,7 @@ public function rules()
// NOTE: you should only define rules for those attributes that
// will receive user inputs.
return array(
array('name, sortorder, created_by', 'required'),
array('name, sortorder, created_by, title', 'required'),
array('sortorder, owner_uid, parent_id, created_by', 'numerical', 'integerOnly'=>true),
array('name', 'length', 'max'=>45),
array('title', 'length', 'max'=>100),
Expand Down

0 comments on commit 44d3704

Please sign in to comment.