| 
      
            Lines 41-47
          my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
      
      
        Link Here
      
     | 
  
        
          | 41 | 
              }  | 
          41 | 
              }  | 
        
        
          | 42 | 
          );  | 
          42 | 
          );  | 
        
        
          | 43 | 
           | 
          43 | 
           | 
        
          
            
              | 44 | 
              if ( $query->param('action') eq 'addItem' ) { | 
              44 | 
              if ( defined $query->param('action') and | 
            
            
               | 
               | 
              45 | 
                   $query->param('action') eq 'addItem' ) { | 
            
        
          | 45 | 
              ## Add the given item to the collection  | 
          46 | 
              ## Add the given item to the collection  | 
        
        
          | 46 | 
              my $colId      = $query->param('colId'); | 
          47 | 
              my $colId      = $query->param('colId'); | 
        
        
          | 47 | 
              my $barcode    = $query->param('barcode'); | 
          48 | 
              my $barcode    = $query->param('barcode'); | 
        
  
    | 
      
            Lines 91-97
          if ( $query->param('action') eq 'addItem' ) {
      
      
        Link Here
      
     | 
  
        
          | 91 | 
          }  | 
          92 | 
          }  | 
        
        
          | 92 | 
           | 
          93 | 
           | 
        
        
          | 93 | 
          my ( $colId, $colTitle, $colDescription, $colBranchcode ) =  | 
          94 | 
          my ( $colId, $colTitle, $colDescription, $colBranchcode ) =  | 
        
          
            
              | 94 | 
                GetCollection( $query->param('colId') ); | 
              95 | 
                GetCollection( scalar $query->param('colId') ); | 
            
        
          | 95 | 
          my $collectionItems = GetItemsInCollection($colId);  | 
          96 | 
          my $collectionItems = GetItemsInCollection($colId);  | 
        
        
          | 96 | 
          if ($collectionItems) { | 
          97 | 
          if ($collectionItems) { | 
        
        
          | 97 | 
              $template->param( collectionItemsLoop => $collectionItems );  | 
          98 | 
              $template->param( collectionItemsLoop => $collectionItems );  | 
        
            
              | 98 | 
              -   | 
               | 
               |