summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rw-r--r--update.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/update.php b/update.php
index 8daacc969..e15e3be00 100644
--- a/update.php
+++ b/update.php
@@ -13,8 +13,11 @@
if (DB_TYPE == "pgsql") {
pg_query($link, "set client_encoding = 'utf-8'");
pg_set_client_encoding("UNICODE");
+ } else {
+ db_query($link, "SET NAMES utf8");
+ db_query($link, "SET CHARACTER SET utf8");
}
-
+
login_sequence($link);
$owner_uid = $_SESSION["uid"];