Commit 647b20e1 authored by Aaron Wells's avatar Aaron Wells Committed by Robert Lyon
Browse files

Bug 1582967: Make "Delete Comment" form IDs unique

Change-Id: I4a217eda8ae6ec9691541cc38c3efd3538aa2c0b
behatnotneeded: Covered by existing tests
parent 792236a0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -823,7 +823,8 @@ class ArtefactTypeComment extends ArtefactType {
    public static function delete_comment_form($id) {
    	global $THEME;
        return array(
            'name'     => 'delete_comment',
            'name'     => 'delete_comment' . $id,
            'successcallback' => 'delete_comment_submit',
            'renderer' => 'oneline',
            'elements' => array(
                'comment' => array('type' => 'hidden', 'value' => $id),