mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 23:27:17 +02:00
Plugins: Use namespace for driver functions
This commit is contained in:
@@ -25,7 +25,7 @@ class AdminerSlugify {
|
||||
if ($slugify === null) {
|
||||
$slugify = array();
|
||||
$prev = null;
|
||||
foreach (fields($table) as $name => $val) {
|
||||
foreach (Adminer\fields($table) as $name => $val) {
|
||||
if ($prev && preg_match('~(^|_)slug(_|$)~', $name)) {
|
||||
$slugify[$prev] = $name;
|
||||
}
|
||||
|
Reference in New Issue
Block a user