Permalink
Browse files

deV: fixed error when adding language Property "CDbCriteria.0" is not…

… defined
  • Loading branch information...
1 parent f45cd6d commit 829ddbe1fe1d70acfabd5c4c377351c61b844272 @mennodekker mennodekker committed Jan 24, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 application/controllers/admin/database.php
@@ -15,7 +15,7 @@
*/
/**
* Database
-*
+*g
* @package LimeSurvey
* @author
* @copyright 2011
@@ -1102,7 +1102,7 @@ function index($sa = null)
{
if ($langname)
{
- $iRowCount = Surveys_languagesettings::model()->count(array('surveyls_survey_id=:surveyid AND surveyls_language=:langname', array(':surveyid'=>$surveyid,':langname'=>$langname)));
+ $iRowCount = Surveys_languagesettings::model()->count('surveyls_survey_id=:surveyid AND surveyls_language=:langname', array(':surveyid'=>$surveyid,':langname'=>$langname));
if ($iRowCount)
{

0 comments on commit 829ddbe

Please sign in to comment.