AdminerTimeout: Fix typo

This commit is contained in:
Jakub Vrana
2025-09-07 15:14:33 +02:00
parent 9fc63eb9d0
commit 7ef0949539

View File

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