Skip to content

Commit

Permalink
deV: fixed error when adding language Property "CDbCriteria.0" is not…
Browse files Browse the repository at this point in the history
… defined
  • Loading branch information
mennodekker committed Jan 24, 2013
1 parent f45cd6d commit 829ddbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/controllers/admin/database.php
Expand Up @@ -15,7 +15,7 @@
*/
/**
* Database
*
*g
* @package LimeSurvey
* @author
* @copyright 2011
Expand Down Expand Up @@ -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)
{

Expand Down

0 comments on commit 829ddbe

Please sign in to comment.