mirror of
https://github.com/vrana/adminer.git
synced 2025-08-24 15:12:51 +02: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