From 1c768e87fa03a9137155f26eea567c435e9642ad Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 14 Jul 2011 10:35:56 +0200 Subject: [PATCH] Typo (bug #3366317) --- plugins/slugify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/slugify.php b/plugins/slugify.php index ccb9ab9a..6760317e 100644 --- a/plugins/slugify.php +++ b/plugins/slugify.php @@ -24,7 +24,7 @@ class AdminerSlugify { if (!isset($slugify)) { $slugify = array(); $prev = null; - foreach (fields($table) as $name => $field) { + foreach (fields($table) as $name => $val) { if ($prev && ereg('(^|_)slug(_|$)', $name)) { $slugify[$prev] = $name; }