Permalink
Browse files

MDL-34573 Tag mod: remove extra quote for new tag name field

  • Loading branch information...
1 parent ca2d732 commit 04a530c9c8ace7505001bf2416c0126dcbd338e5 @rwijaya rwijaya committed Sep 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tag/manage.php
View
2 tag/manage.php
@@ -265,7 +265,7 @@
$flag = $tag->flag;
$timemodified = format_time(time() - $tag->timemodified);
$checkbox = html_writer::tag('input', '', array('type' => 'checkbox', 'name' => 'tagschecked[]', 'value' => $tag->id));
- $attrs = array('type' => 'text', 'id' => 'newname_' . $tag->id, 'name' => 'newname["'.$tag->id.'"]');
+ $attrs = array('type' => 'text', 'id' => 'newname_' . $tag->id, 'name' => 'newname['.$tag->id.']');
$text = html_writer::label(get_string('newname', 'tag'), 'newname_' . $tag->id, false, array('class' => 'accesshide'));
$text .= html_writer::empty_tag('input', $attrs);
$tagtype = html_writer::label(get_string('tagtype', 'tag'), 'menutagtypes'. $tag->id, false, array('class' => 'accesshide'));

0 comments on commit 04a530c

Please sign in to comment.