Skip to content

Commit

Permalink
MDL-34573 Tag mod: remove extra quote for new tag name field
Browse files Browse the repository at this point in the history
  • Loading branch information
Rossiani Wijaya committed Sep 26, 2012
1 parent ca2d732 commit 04a530c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tag/manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down

0 comments on commit 04a530c

Please sign in to comment.