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; }