|  | @@ -2707,6 +2707,9 @@ class Database
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  $button = $this->list_tbody_button($config, $data[$k]);
 | 
	
		
			
				|  |  | +                if ($button == '<td></td>') {
 | 
	
		
			
				|  |  | +                    $button = str_replace('<td></td>', '<td>nbsp;</td>', $button);
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  |                  $result[$k] .= $button;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  $return[$i]['manage'] = str_replace(array('<td>', '</td>'), '', $button);
 | 
	
	
		
			
				|  | @@ -2719,11 +2722,12 @@ class Database
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          if ($result) {
 | 
	
		
			
				|  |  |              $this->state = true;
 | 
	
		
			
				|  |  | -            /*
 | 
	
		
			
				|  |  | +            $result = implode('', $result);
 | 
	
		
			
				|  |  |              if (!$this->manage_button) {
 | 
	
		
			
				|  |  | -                $result[$k] = str_replace('<td></td>', '', $result[$k]);
 | 
	
		
			
				|  |  | +                $result = str_replace('<td>nbsp;</td>', '', $result);
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  | -            */
 | 
	
		
			
				|  |  | +        } else {
 | 
	
		
			
				|  |  | +            $result = '';
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          if ($type) {
 |