From ae24a4ea4c275c914e2cc03517f9e5849de085f4 Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 1 Jun 2018 18:27:46 +0200 Subject: [PATCH] * fixed that database_log was always on --- system/libs/pot/OTS_DB_MySQL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/libs/pot/OTS_DB_MySQL.php b/system/libs/pot/OTS_DB_MySQL.php index 4577e863..9e723fd4 100644 --- a/system/libs/pot/OTS_DB_MySQL.php +++ b/system/libs/pot/OTS_DB_MySQL.php @@ -94,7 +94,7 @@ class OTS_DB_MySQL extends OTS_Base_DB $this->prefix = $params['prefix']; } - if( isset($params['log']) ) + if( isset($params['log']) && $params['log'] ) { $this->logged = true; }