summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-26 22:03:35 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-26 22:03:35 +0100
commitaf25ca9103debdb392395e82473db318a5eeab2c (patch)
tree6ab107c2b65e5e9a982cb187863018f945800640
parent1ec2783a8ef18c4d485e25a518d50fc4d9ea0035 (diff)
fix broken log nick
-rw-r--r--db/update.sql3
-rw-r--r--includes/sys_log.php1
2 files changed, 3 insertions, 1 deletions
diff --git a/db/update.sql b/db/update.sql
index db7d75ed..8364e2e5 100644
--- a/db/update.sql
+++ b/db/update.sql
@@ -1,3 +1,6 @@
+/* fix log */
+ALTER TABLE `LogEntries` CHANGE `nick` `nick` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ;
+
/* introduce got-voucher flag */
ALTER TABLE `User` ADD `got_voucher` BOOLEAN NOT NULL;
diff --git a/includes/sys_log.php b/includes/sys_log.php
index cf489ffa..66ff5820 100644
--- a/includes/sys_log.php
+++ b/includes/sys_log.php
@@ -15,7 +15,6 @@ function engelsystem_log($message) {
} else {
$nick = "Guest";
}
-
LogEntry_create($nick, $message);
}