mirror of
https://github.com/vrana/adminer.git
synced 2025-12-20 15:30:45 +01:00
Use namespaces in plugins
This commit is contained in:
@@ -33,7 +33,7 @@ class AdminerDumpPhp {
|
||||
|
||||
function dumpData($table, $style, $query) {
|
||||
if ($_POST['format'] == 'php') {
|
||||
$connection = connection();
|
||||
$connection = Adminer\connection();
|
||||
$result = $connection->query($query, 1);
|
||||
if ($result) {
|
||||
while ($row = $result->fetch_assoc()) {
|
||||
|
||||
Reference in New Issue
Block a user