From 7ef09495390b8d606cb5d3ecbbc46df950be456f Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sun, 7 Sep 2025 15:14:33 +0200 Subject: [PATCH] AdminerTimeout: Fix typo --- plugins/timeout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/timeout.php b/plugins/timeout.php index 59a05024..5ea7b405 100644 --- a/plugins/timeout.php +++ b/plugins/timeout.php @@ -32,7 +32,7 @@ class AdminerTimeout extends Adminer\Plugin { $conn->query("SET LOCK_TIMEOUT $ms"); break; default: - if (method_exists(connection(), 'timeout')) { + if (method_exists($conn, 'timeout')) { $conn->timeout($ms); } }