Commit 2db56e44 authored by Neil Drumm's avatar Neil Drumm 👋
Browse files

Issue #2449489: Automatically generate comment when an issue is created; do...

Issue #2449489: Automatically generate comment when an issue is created; do not count issue when initial comment is auto-generated
parent e4846fa5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -421,7 +421,8 @@ function drupalorg_project_form_node_form_alter(&$form, &$form_state) {
            'patches-bar' => NULL,
            'files' => NULL,
            'files-bar' => NULL,
            'comments' => 1,
            // After 1438716282, there is an automatic initial comment.
            'comments' => ($form_state['node']->created < 1438716282) ? 1 : 0,
            'comments-bar' => NULL,
            '#weight' => 0,
          ),