From ee1c84de1a6c48ae6aff8cfc566e1499dc2106d3 Mon Sep 17 00:00:00 2001 From: Aaron Schmitz Date: Wed, 28 Dec 2011 00:14:57 +0000 Subject: [PATCH] Revert database.php to before when it was refactored. git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@11788 b72ed6b6-b9f8-46b5-92b4-906544132732 --- application/controllers/admin/database.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/application/controllers/admin/database.php b/application/controllers/admin/database.php index 43b2a7e587b..19b7850a909 100644 --- a/application/controllers/admin/database.php +++ b/application/controllers/admin/database.php @@ -141,8 +141,7 @@ function index($action=null) } } - $databaseoutput['clang']=$clang; - + if ($action == "updateansweroptions" && bHasSurveyPermission($surveyid, 'surveycontent','update')) { @@ -188,7 +187,7 @@ function index($action=null) $assessmentvalue=(int) $_POST['assessment_'.$sortorderid.'_'.$scale_id]; foreach ($alllanguages as $language) - {*/ + { $answer=$_POST['answer_'.$language.'_'.$sortorderid.'_'.$scale_id]; if (Yii::app()->getConfig('filterxsshtml'))