Skip to content

Commit

Permalink
Fixed issue: Quota general screen not working because of missing lang…
Browse files Browse the repository at this point in the history
…uage definition
  • Loading branch information
lacrioque committed Aug 25, 2017
1 parent c21c16f commit 077648b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions application/views/admin/quotas/_form_langsettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@
array(
'id' => 'edittxtele' . $language,
'class' => 'tab-pane fade in' . ($language == $oQuota->survey->language ? ' active ' : ''),
),$this->renderPartial('/admin/quotas/_form_langsetting',
),
$this->renderPartial('/admin/quotas/_form_langsetting',
array(
'form'=>$form,
'oQuota'=>$oQuota,
'oQuotaLanguageSetting' =>$aQuotaLanguageSettings[$language],
'oQuotaLanguageSetting' => (isset($aQuotaLanguageSettings[$language]) ? $aQuotaLanguageSettings[$language] : new QuotaLanguageSetting),
'language' =>$language,
),true)
);
Expand Down

0 comments on commit 077648b

Please sign in to comment.