| Lines 53-59
          my $usecache = Koha::Caches->get_instance->memcached_cache;
      
      
        Link Here | 
        
          | 53 |  | 53 |  | 
        
          | 54 | my $phase = $input->param('phase') // ''; | 54 | my $phase = $input->param('phase') // ''; | 
        
          | 55 | my $flagsrequired; | 55 | my $flagsrequired; | 
          
            
              | 56 | if ( $phase eq 'Build new' ) { | 56 | if ( ( $phase eq 'Build new' ) || ( $phase eq 'Create report from SQL' ) || ( $phase eq 'Edit SQL' ) ){ | 
        
          | 57 |     $flagsrequired = 'create_reports'; | 57 |     $flagsrequired = 'create_reports'; | 
        
          | 58 | } | 58 | } | 
        
          | 59 | elsif ( $phase eq 'Use saved' ) { | 59 | elsif ( $phase eq 'Use saved' ) { | 
            
              | 60 | -  |  |  |