From ba421693976dcfea6c2cfdca656edaaf61f314bc Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Wed, 5 Nov 2014 15:57:31 +0100 Subject: [PATCH] From " to ' --- php/modules/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/modules/Database.php b/php/modules/Database.php index 653476b..c7ae0b1 100755 --- a/php/modules/Database.php +++ b/php/modules/Database.php @@ -21,7 +21,7 @@ class Database extends Module { # Avoid sql injection on older MySQL versions by using GBK if ($database->server_version<50500) $database->set_charset('GBK'); - else $database->set_charset("utf8"); + else $database->set_charset('utf8'); # Set unicode $database->query('SET NAMES utf8;');