mirror of
https://github.com/vrana/adminer.git
synced 2026-01-09 09:02:56 +01:00
AdminerTimeout: Fix typo
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user