| 
      
            Lines 54-63
          if ( $op eq 'add_form' ) {
      
      
        Link Here
      
     | 
  
        
          | 54 | 
              my $frameworkcode = $input->param('frameworkcode'); | 
          54 | 
              my $frameworkcode = $input->param('frameworkcode'); | 
        
        
          | 55 | 
              my $frameworktext = $input->param('frameworktext'); | 
          55 | 
              my $frameworktext = $input->param('frameworktext'); | 
        
        
          | 56 | 
              my $is_a_modif    = $input->param('is_a_modif'); | 
          56 | 
              my $is_a_modif    = $input->param('is_a_modif'); | 
        
            
               | 
               | 
              57 | 
                  my $is_fast_add   = $input->param('is_fast_add') || 0; | 
            
        
          | 57 | 
           | 
          58 | 
           | 
        
        
          | 58 | 
              if ($is_a_modif) { | 
          59 | 
              if ($is_a_modif) { | 
        
        
          | 59 | 
                  my $framework = Koha::BiblioFrameworks->find($frameworkcode);  | 
          60 | 
                  my $framework = Koha::BiblioFrameworks->find($frameworkcode);  | 
        
        
          | 60 | 
                  $framework->frameworktext($frameworktext);  | 
          61 | 
                  $framework->frameworktext($frameworktext);  | 
        
            
               | 
               | 
              62 | 
                      $framework->is_fast_add($is_fast_add);  | 
            
        
          | 61 | 
                  eval { $framework->store; }; | 
          63 | 
                  eval { $framework->store; }; | 
        
        
          | 62 | 
                  if ($@) { | 
          64 | 
                  if ($@) { | 
        
        
          | 63 | 
                      push @messages, { type => 'error', code => 'error_on_update' }; | 
          65 | 
                      push @messages, { type => 'error', code => 'error_on_update' }; | 
        
  
    | 
      
            Lines 69-74
          if ( $op eq 'add_form' ) {
      
      
        Link Here
      
     | 
  
        
          | 69 | 
                      { | 
          71 | 
                      { | 
        
        
          | 70 | 
                          frameworkcode => $frameworkcode,  | 
          72 | 
                          frameworkcode => $frameworkcode,  | 
        
        
          | 71 | 
                          frameworktext => $frameworktext,  | 
          73 | 
                          frameworktext => $frameworktext,  | 
        
            
               | 
               | 
              74 | 
                              is_fast_add   => $is_fast_add,  | 
            
        
          | 72 | 
                      }  | 
          75 | 
                      }  | 
        
        
          | 73 | 
                  );  | 
          76 | 
                  );  | 
        
        
          | 74 | 
                  eval { $framework->store; }; | 
          77 | 
                  eval { $framework->store; }; | 
        
  
    | 
      
            Lines 127-130
          $template->param(
      
      
        Link Here
      
     | 
  
        
          | 127 | 
          );  | 
          130 | 
          );  | 
        
        
          | 128 | 
           | 
          131 | 
           | 
        
        
          | 129 | 
          output_html_with_http_headers $input, $cookie, $template->output;  | 
          132 | 
          output_html_with_http_headers $input, $cookie, $template->output;  | 
        
            
              | 130 | 
               | 
               | 
               |