Fix for warnings/notices/deprecated messages on PHP 7.4

This commit is contained in:
Adam Zammit committed 2021-01-28 14:07:17 +11:00
1 parent e7093af41e
commit ead8e5f0ea
53 files changed
+152 -248

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ class limesurvey_lang {
var $gettextclass;
var $langcode;
function limesurvey_lang($langcode){
function __construct($langcode){
global $rootdir;
$langcode=sanitize_languagecode($langcode);
$streamer = new FileReader($rootdir.'/locale/'.$langcode.'/LC_MESSAGES/'.$langcode.'.mo');