aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-base/www/include/base
diff options
context:
space:
mode:
authorM.Gergo2020-06-23 11:45:03 +0200
committerM.Gergo2020-06-23 11:45:03 +0200
commit3f797e7e6a2378f665ef2b7e3b414c48a0671375 (patch)
treeed8a0a5f69fd63ca5c26548a9a8fd3f7136840cb /mayor-orig/mayor-base/www/include/base
parent19bfc6226b6a5180d25411f601448a29a5025cb8 (diff)
downloadmayor-3f797e7e6a2378f665ef2b7e3b414c48a0671375.tar.gz
mayor-3f797e7e6a2378f665ef2b7e3b414c48a0671375.zip
Rev: 4658rev4658
Diffstat (limited to 'mayor-orig/mayor-base/www/include/base')
-rw-r--r--mayor-orig/mayor-base/www/include/base/mysql.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mayor-orig/mayor-base/www/include/base/mysql.php b/mayor-orig/mayor-base/www/include/base/mysql.php
index 12aeb771..819fdcd0 100644
--- a/mayor-orig/mayor-base/www/include/base/mysql.php
+++ b/mayor-orig/mayor-base/www/include/base/mysql.php
@@ -91,9 +91,11 @@
mysqli_set_charset($lr, "utf8");
mysqli_query($lr, "SET NAMES utf8");
mysqli_query($lr, "SET collation_connection='utf8_hungarian_ci'");
+ mysqli_query($lr, "SET SESSION sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''))");
} else {
mysql_query("SET NAMES utf8", $lr);
mysql_query("SET collation_connection='utf8_hungarian_ci'", $lr);
+ mysql_query("SET SESSION sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''))", $lr);
}
} else {
$_SESSION['alert'][] = "message:sql_select_db_failure:db_connect/${SET['fv']}:$modul:".$MYSQL_DATA[$modul]['db'];