Skip to content

Commit

Permalink
Resolving issue #41
Browse files Browse the repository at this point in the history
  • Loading branch information
netniV committed Sep 21, 2018
1 parent 677cba6 commit 760ba84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ At first it's recommend to discuss your feature request with the Cacti community
* removed: Support of php_rrdtool extension
* removed: Support of RRDtool server
* removed: Support of Graidle
* issue#41: When creating a new Report Template, save fails and loses all data

--- 1.0.1 ---
* issue#2: Suppress display of 'Constant MAX_DISPLAY_PAGES is already defined'
Expand Down
1 change: 1 addition & 0 deletions include/global_forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
'method' => 'checkbox',
'description' => __('The status "locked" avoids any kind of modification to your report template as well as assigned measurands and variable definitions', 'reportit'),
'value' => '|arg1:locked|',
'default' => 'on',
),
'template_filter' => array(
'friendly_name' => __('Additional Pre-filter', 'reportit'),
Expand Down
2 changes: 1 addition & 1 deletion templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ function form_save() {
}
}

/* check if we can unlock this template. */
/* check if we can lock this template. */
if ($template_data['locked'] == '') {
if (stat_autolock_template($template_data['id'])) {
raise_message('reportit_templates__3');
Expand Down

0 comments on commit 760ba84

Please sign in to comment.