From 44d37045fb6edc758d4cd539fb5f410cb739c734 Mon Sep 17 00:00:00 2001 From: Dominik Vitt Date: Tue, 28 Aug 2018 16:20:48 +0200 Subject: [PATCH] Fixed issue #13283: Survey Groups title should be mandatory --- application/models/SurveysGroups.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/models/SurveysGroups.php b/application/models/SurveysGroups.php index 79f56649429..1202aac097e 100644 --- a/application/models/SurveysGroups.php +++ b/application/models/SurveysGroups.php @@ -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),