Permalink
Browse files

Typo (bug #3366317)

  • Loading branch information...
1 parent 8a9642b commit 1c768e87fa03a9137155f26eea567c435e9642ad @vrana committed Jul 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/slugify.php
View
@@ -24,7 +24,7 @@ function editInput($table, $field, $attrs, $value) {
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;
}

0 comments on commit 1c768e8

Please sign in to comment.