From 71b759232cbfa665567e259969a3ac2878c15d2a Mon Sep 17 00:00:00 2001 From: Ivor Barhansky Date: Fri, 6 Jan 2023 21:26:51 +0200 Subject: [PATCH] =?UTF-8?q?PDO::fetch=20=D0=B2=D0=BE=D0=B7=D0=B2=D1=80?= =?UTF-8?q?=D0=B0=D1=89=D0=B0=D0=BB=20=D0=B2=D1=81=D0=B5=20=D1=82=D0=B8?= =?UTF-8?q?=D0=BF=D1=8B=20=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D1=85=20=D0=BA?= =?UTF-8?q?=D0=B0=D0=BA=20=D1=81=D1=82=D1=80=D0=BE=D1=87=D0=BD=D1=8B=D0=B5?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _incl_data/class/Core/Database.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_incl_data/class/Core/Database.php b/_incl_data/class/Core/Database.php index 7fe71b0c..83336163 100644 --- a/_incl_data/class/Core/Database.php +++ b/_incl_data/class/Core/Database.php @@ -43,6 +43,8 @@ class Database PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC, PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES cp1251", + PDO::ATTR_STRINGIFY_FETCHES => false, + PDO::ATTR_EMULATE_PREPARES => false, ] ); }