From: Platonides Date: Tue, 18 Sep 2018 23:00:08 +0000 (+0200) Subject: Default to limesurvey charset X-Git-Url: http://gitweb.wikimedia.es/?a=commitdiff_plain;h=ab33bec1816a9c7f4f6319918129a3cfbdc631eb;p=limesurvey%2FAuthWMESbyDB Default to limesurvey charset --- diff --git a/AuthWMESbyDB.php b/AuthWMESbyDB.php index 77d7279..5dbf1a3 100644 --- a/AuthWMESbyDB.php +++ b/AuthWMESbyDB.php @@ -231,7 +231,7 @@ class AuthWMESbyDB extends \LimeSurvey\PluginManager\AuthPluginBase if(is_null($sWpDbPrefix)){ $sWpDbPrefix='auth_'; } - $sWpDbCharset = "utf8"; + $sWpDbCharset = Yii::app()->db->charset; if($sWpDbHost || $sWpDbPort || $sWpDbName){ if(!$sWpDbPort) $sWpDbPort="3306";