From 2e6ff1b7508e738c1ecb4647aa5890422b771121 Mon Sep 17 00:00:00 2001 From: t-tomek Date: Wed, 21 Dec 2022 16:32:33 +0100 Subject: [PATCH] Update DB.php --- lib-php/DB.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-php/DB.php b/lib-php/DB.php index f5fea7f8..8b51955d 100644 --- a/lib-php/DB.php +++ b/lib-php/DB.php @@ -57,7 +57,7 @@ class DB $iMaxExecution = ini_get('max_execution_time'); if ($iMaxExecution > 0) { - $conn->setAttribute(\PDO::ATTR_TIMEOUT, $iMaxExecution); // seconds + $this->connection->setAttribute(\PDO::ATTR_TIMEOUT, $iMaxExecution); // seconds } return true; -- 2.39.5