diff --git a/include/tool/editing.php b/include/tool/editing.php index 00b089461..004a36cb2 100755 --- a/include/tool/editing.php +++ b/include/tool/editing.php @@ -804,7 +804,7 @@ function IncludeDialog( $section ){ * */ static function SectionFromPost( &$existing_section, $section_num, $title, $file_stats ){ - global $page; + global $page, $gpAdmin; $section_before = $existing_section; $type = $existing_section['type']; @@ -833,6 +833,9 @@ static function SectionFromPost( &$existing_section, $section_num, $title, $file $page->file_sections[$section_num] = $existing_section = $section_before; } + $page->file_sections[$section_num]['modified'] = time(); + $page->file_sections[$section_num]['modified_by'] = $gpAdmin['username']; + return $save_this; }