diff --git a/application/helpers/frontend_helper.php b/application/helpers/frontend_helper.php index 6cfa0c17ddc..52c5bcae195 100644 --- a/application/helpers/frontend_helper.php +++ b/application/helpers/frontend_helper.php @@ -1926,6 +1926,8 @@ function checkCompletedQuota($surveyid,$return=false) $aPostedFields = explode("|",Yii::app()->request->getPost('fieldnames','')); // Needed for quota allowing update foreach ($aQuotasInfo as $aQuotaInfo) { + if(count($aQuotaInfo['members'])===0)) + continue; $iMatchedAnswers=0; $bPostedField=false; // Array of field with quota array value