View | Details | Raw Unified | Return to bug 37763
Collapse All | Expand All

(-)a/reports/guided_reports.pl (-2 / +5 lines)
Lines 225-235 elsif ( $op eq 'cud-update_sql' || $op eq 'cud-update_and_run_sql' ){ Link Here
225
                    public => $public,
225
                    public => $public,
226
                    cache_expiry => $cache_expiry,
226
                    cache_expiry => $cache_expiry,
227
                } );
227
                } );
228
        my $editsql = 1;
229
        if ($op eq 'cud-update_and_run_sql') {
230
            $editsql = 0;
231
        }
228
            $template->param(
232
            $template->param(
229
                'save_successful'       => 1,
233
                'save_successful'       => 1,
230
                'reportname'            => $reportname,
234
                'reportname'            => $reportname,
231
                'id'                    => $id,
235
                'id'                    => $id,
232
                'editsql'               => 1,
236
                'editsql'               => $editsql,
233
                'sql'                   => $sql,
237
                'sql'                   => $sql,
234
                'groups_with_subgroups' => groups_with_subgroups($group, $subgroup),
238
                'groups_with_subgroups' => groups_with_subgroups($group, $subgroup),
235
                'notes'                 => $notes,
239
                'notes'                 => $notes,
236
- 

Return to bug 37763