From b150cd2c5cb9ad4413773a774f6eaa17fbd3795e Mon Sep 17 00:00:00 2001
From: Gina Haeussge <gina@foosel.net>
Date: Sat, 26 Jun 2010 17:50:16 +0200
Subject: [PATCH] FS#1901: prefill section name into summary when editing
 sections

---
 inc/html.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/inc/html.php b/inc/html.php
index 7e842e052..3398e8fb9 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -137,7 +137,8 @@ function html_secedit_get_button($data) {
                        " editbutton_" . $secid . "'>" .
            html_btn('secedit', $ID, '',
                     array_merge(array('do'  => 'edit',
-                                      'rev' => $INFO['lastmod']), $data),
+                                      'rev' => $INFO['lastmod'],
+                                      'summary' => '['.$name.'] '), $data),
                     'post', $name) . '</div>';
 }
 
-- 
GitLab