From ab33bec1816a9c7f4f6319918129a3cfbdc631eb Mon Sep 17 00:00:00 2001 From: Platonides Date: Wed, 19 Sep 2018 01:00:08 +0200 Subject: [PATCH] Default to limesurvey charset --- AuthWMESbyDB.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.30.2