projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be38c92
)
PHP 8.1 onwards db_set_charset needs second parameter not null. Fixed with defaykt...
author
Joe
<joe.hunt.consulting@gmail.com>
Fri, 24 Feb 2023 08:40:59 +0000
(09:40 +0100)
committer
Joe
<joe.hunt.consulting@gmail.com>
Fri, 24 Feb 2023 08:40:59 +0000
(09:40 +0100)
admin/db/maintenance_db.inc
patch
|
blob
|
history
diff --git
a/admin/db/maintenance_db.inc
b/admin/db/maintenance_db.inc
index ba4d089225e79ccdd2ae1ad6204c5f8ff89eed0d..366226c977e0394a4d1fb83e935c9502dd863899 100644
(file)
--- a/
admin/db/maintenance_db.inc
+++ b/
admin/db/maintenance_db.inc
@@
-383,7
+383,7
@@
function db_import($filename, $connection, $force=true, $init=true, $protect=fal
// 'set names' or equivalents should be used only on post 2.3 FA versions
// otherwise text encoding can be broken during import
//
- $encoding =
null
; // UI encoding for default site language is the default
+ $encoding =
'utf8'
; // UI encoding for default site language is the default
$new_db = $init || db_fixed();
$new_file = count($set_names);
if ($new_db)